PDF for .NET
DrawString(String,Font,Color,RectangleF,Int32) メソッド

C1.Pdf.6 アセンブリ > C1.Pdf 名前空間 > C1PdfDocument クラス > DrawString メソッド : DrawString(String,Font,Color,RectangleF,Int32) メソッド
描画する文字列
描画テキストの外観とサイズを定義する System.Drawing.Font オブジェクト。
描画テキストの色。
描画テキストの位置をページの左上隅からのポイント数で指定する四角形構造体。
レンダリングされる最初の文字のインデックス。
指定されたテキスト文字列を指定された四角形内に、 指定された System.Drawing.Brush オブジェクトと System.Drawing.Font オブジェクトで、 指定された System.Drawing.StringFormat オブジェクトの書式設定属性を使用して描画します。
シンタックス
'宣言
 
Public Overloads Function DrawString( _
   ByVal text As System.String, _
   ByVal font As System.Drawing.Font, _
   ByVal color As System.Drawing.Color, _
   ByVal rc As System.Drawing.RectangleF, _
   ByVal firstChar As System.Integer _
) As System.Integer
public System.int DrawString( 
   System.string text,
   System.Drawing.Font font,
   System.Drawing.Color color,
   System.Drawing.RectangleF rc,
   System.int firstChar
)

パラメータ

text
描画する文字列
font
描画テキストの外観とサイズを定義する System.Drawing.Font オブジェクト。
color
描画テキストの色。
rc
描画テキストの位置をページの左上隅からのポイント数で指定する四角形構造体。
firstChar
レンダリングされる最初の文字のインデックス。

戻り値の型

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

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