FlexReport for WinForms
DrawText メソッド (C1DXExportGraphics)


C1.Win.Document.8 アセンブリ > C1.Win.Document.Util 名前空間 > C1DXExportGraphics クラス : DrawText メソッド
描画するテキストの開始点。
テキストラン。
フォント名を表す文字列。
フォントサイズ(ポイント単位)。
フォントウェイト。C1.Document.C1FontWeight を参照してください。
フォントウェイト。C1.Document.C1FontStretch を参照してください。
斜体フラグ。
テキスト装飾。C1.Document.C1TextDecoration を参照してください。
テキスト(前景)色。
進行配列。各グリフの幅(ポイント単位)。
フォント PANOSE(フォント識別子)。
絵文字フラグ付き垂直テキスト。
右から左(Bi-di)テキストレベル(0 - Normal、1 - Rtl、2 - Inside Rtl)。
テキストの右境界オフセット。デフォルトは 0。
単純なテキストランを描画します。
シンタックス
'宣言
 
Protected Overridable Sub DrawText( _
   ByVal pt As Point, _
   ByVal text As System.String, _
   ByVal fontName As System.String, _
   ByVal fontSize As System.Single, _
   ByVal weight As C1FontWeight, _
   ByVal stretch As C1FontStretch, _
   ByVal italic As System.Boolean, _
   ByVal decor As C1TextDecoration, _
   ByVal color As System.Drawing.Color, _
   ByVal advances() As System.Single, _
   ByVal panose() As System.Byte, _
   ByVal vertical As System.Boolean, _
   ByVal bidiLevel As System.Integer, _
   ByVal offset As System.Double _
) 
'使用法
 
Dim instance As C1DXExportGraphics
Dim pt As Point
Dim text As System.String
Dim fontName As System.String
Dim fontSize As System.Single
Dim weight As C1FontWeight
Dim stretch As C1FontStretch
Dim italic As System.Boolean
Dim decor As C1TextDecoration
Dim color As System.Drawing.Color
Dim advances() As System.Single
Dim panose() As System.Byte
Dim vertical As System.Boolean
Dim bidiLevel As System.Integer
Dim offset As System.Double
 
instance.DrawText(pt, text, fontName, fontSize, weight, stretch, italic, decor, color, advances, panose, vertical, bidiLevel, offset)
protected virtual void DrawText( 
   Point pt,
   System.string text,
   System.string fontName,
   System.float fontSize,
   C1FontWeight weight,
   C1FontStretch stretch,
   System.bool italic,
   C1TextDecoration decor,
   System.Drawing.Color color,
   System.float[] advances,
   System.byte[] panose,
   System.bool vertical,
   System.int bidiLevel,
   System.double offset
)

パラメータ

pt
描画するテキストの開始点。
text
テキストラン。
fontName
フォント名を表す文字列。
fontSize
フォントサイズ(ポイント単位)。
weight
フォントウェイト。C1.Document.C1FontWeight を参照してください。
stretch
フォントウェイト。C1.Document.C1FontStretch を参照してください。
italic
斜体フラグ。
decor
テキスト装飾。C1.Document.C1TextDecoration を参照してください。
color
テキスト(前景)色。
advances
進行配列。各グリフの幅(ポイント単位)。
panose
フォント PANOSE(フォント識別子)。
vertical
絵文字フラグ付き垂直テキスト。
bidiLevel
右から左(Bi-di)テキストレベル(0 - Normal、1 - Rtl、2 - Inside Rtl)。
offset
テキストの右境界オフセット。デフォルトは 0。
参照

参照

C1DXExportGraphics クラス
C1DXExportGraphics メンバ