PrintDocument for WinForms
RenderBlockText(String,Font,AlignHorzEnum) メソッド


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > C1PrintDocument クラス > RenderBlockText メソッド : RenderBlockText(String,Font,AlignHorzEnum) メソッド
The text to render.
The System.Drawing.Font to use (can be null).
The horizontal text alignment to use.
Renders a block of text into the block flow of the current document, using the specified font and horizontal alignment.
シンタックス
'宣言
 
Public Overloads Function RenderBlockText( _
   ByVal text As System.String, _
   ByVal font As System.Drawing.Font, _
   ByVal horzAlign As AlignHorzEnum _
) As System.Boolean
'使用法
 
Dim instance As C1PrintDocument
Dim text As System.String
Dim font As System.Drawing.Font
Dim horzAlign As AlignHorzEnum
Dim value As System.Boolean
 
value = instance.RenderBlockText(text, font, horzAlign)
public System.bool RenderBlockText( 
   System.string text,
   System.Drawing.Font font,
   AlignHorzEnum horzAlign
)

パラメータ

text
The text to render.
font
The System.Drawing.Font to use (can be null).
horzAlign
The horizontal text alignment to use.

戻り値の型

true if no warnings were generated by this call, false otherwise.
解説

See C1PrintDocument.RenderBlockText for details on how the width and height of the text block are set.

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 メンバ
オーバーロード一覧
RenderBlockText(String) メソッド
RenderBlock メソッド
StartDoc メソッド
EndDoc メソッド
Generate メソッド
Warnings プロパティ