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


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

パラメータ

text
The string to add to the RenderParagraph.Content of the current inline paragraph.
fontStyle
The System.Drawing.FontStyle to use for the text.

戻り値の型

true if no warnings were generated by this call, false otherwise.
解説
This method creates a new ParagraphText object with the specified font style, 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 プロパティ