Pdf for UWP
DrawString(String,Font,Color,Point) メソッド

C1.UWP.Pdf アセンブリ > C1.Xaml.Pdf 名前空間 > C1PdfDocument クラス > DrawString メソッド : DrawString(String,Font,Color,Point) メソッド
描画するテキスト。
描画テキストの外観とサイズを定義する Fontオブジェクト。
描画テキストの位置をページの左上隅からのポイント数で指定するポイント構造体。
指定されたテキスト文字列を指定されたポイントに、指定された Windows.UI.Xaml.Media.Brushオブジェクトと Fontオブジェクトで描画します。
シンタックス
'宣言
 
Public Overloads Function DrawString( _
   ByVal text As System.String, _
   ByVal font As Font, _
   ByVal color As Windows.UI.Color, _
   ByVal pt As Windows.Foundation.Point _
) As System.Integer
public System.int DrawString( 
   System.string text,
   Font font,
   Windows.UI.Color color,
   Windows.Foundation.Point pt
)

パラメータ

text
描画するテキスト。
font
描画テキストの外観とサイズを定義する Fontオブジェクト。
color
pt
描画テキストの位置をページの左上隅からのポイント数で指定するポイント構造体。

戻り値の型

指定された四角形に収まらないために出力されなかった最初の文字のインデックス。
参照

C1PdfDocument クラス
C1PdfDocument メンバ
オーバーロード一覧