PrintDocument for WinForms
RenderBlockText(String) メソッド


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

パラメータ

text
The text to render.

戻り値の型

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

The width of the rendered block is set to the width of the page (or column for multi-column layouts), which is equivalent to setting the RenderObject.Width of a RenderObject to "parent.width".

The height of the rendered block is set to auto, which is equivalent to setting the RenderObject.Height of a RenderObject to Unit.Auto or "auto".

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