PrintDocument for WinForms
RenderBlockText(String,Object,Object,Style) メソッド


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > C1PrintDocument クラス > RenderBlockText メソッド : RenderBlockText(String,Object,Object,Style) メソッド
The text to render.
The width of the block to render (if null, parent width is used).
The height of the block to render (if null, auto height is used).
The style to use (can be null).
Renders a block of text with the specifed width and height into the block flow of the current document, using the specified C1PrintDocument.Style.
シンタックス
'宣言
 
Public Overloads Function RenderBlockText( _
   ByVal text As System.String, _
   ByVal width As System.Object, _
   ByVal height As System.Object, _
   ByVal style As Style _
) As System.Boolean
'使用法
 
Dim instance As C1PrintDocument
Dim text As System.String
Dim width As System.Object
Dim height As System.Object
Dim style As Style
Dim value As System.Boolean
 
value = instance.RenderBlockText(text, width, height, style)
public System.bool RenderBlockText( 
   System.string text,
   System.object width,
   System.object height,
   Style style
)

パラメータ

text
The text to render.
width
The width of the block to render (if null, parent width is used).
height
The height of the block to render (if null, auto height is used).
style
The style to use (can be null).

戻り値の型

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 プロパティ