PrintDocument for WinForms
RenderInlineText(String,Color) メソッド


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > C1PrintDocument クラス > RenderInlineText メソッド : RenderInlineText(String,Color) メソッド
The string to add to the RenderParagraph.Content of the current inline paragraph.
The text color to use.
Renders a string into the current inline paragraph, using the specified text color.
シンタックス
'宣言
 
Public Overloads Function RenderInlineText( _
   ByVal text As System.String, _
   ByVal textColor As System.Drawing.Color _
) As System.Boolean
'使用法
 
Dim instance As C1PrintDocument
Dim text As System.String
Dim textColor As System.Drawing.Color
Dim value As System.Boolean
 
value = instance.RenderInlineText(text, textColor)
public System.bool RenderInlineText( 
   System.string text,
   System.Drawing.Color textColor
)

パラメータ

text
The string to add to the RenderParagraph.Content of the current inline paragraph.
textColor
The text color to use.

戻り値の型

true if no warnings were generated by this call, false otherwise.
解説
This method creates a new ParagraphText object with the specified text color, and adds it to the current internally maintained RenderParagraph object. A new paragraph is started if there is no current one.

This method can only be used between calls to C1PrintDocument.StartDoc and C1PrintDocument.EndDoc methods on the current document. For details, see C1PrintDocument.RenderBlock.

参照

C1PrintDocument クラス
C1PrintDocument メンバ
オーバーロード一覧
ParagraphText クラス
RenderInlineBegin メソッド
RenderInlineEnd メソッド
StartDoc メソッド
EndDoc メソッド
Generate メソッド
Warnings プロパティ