PrintDocument for WinForms
RenderBlockRectangle(Unit,Unit,LineDef,Brush) メソッド


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > C1PrintDocument クラス > RenderBlockRectangle メソッド : RenderBlockRectangle(Unit,Unit,LineDef,Brush) メソッド
The width of the rectangle.
The height of the rectangle.
The LineDef to draw the rectangle with.
The fill brush.
Renders a rectangle into the block flow of the current document.
シンタックス
'宣言
 
Public Overloads Function RenderBlockRectangle( _
   ByVal width As Unit, _
   ByVal height As Unit, _
   ByVal line As LineDef, _
   ByVal fillBrush As System.Drawing.Brush _
) As System.Boolean
'使用法
 
Dim instance As C1PrintDocument
Dim width As Unit
Dim height As Unit
Dim line As LineDef
Dim fillBrush As System.Drawing.Brush
Dim value As System.Boolean
 
value = instance.RenderBlockRectangle(width, height, line, fillBrush)
public System.bool RenderBlockRectangle( 
   Unit width,
   Unit height,
   LineDef line,
   System.Drawing.Brush fillBrush
)

パラメータ

width
The width of the rectangle.
height
The height of the rectangle.
line
The LineDef to draw the rectangle with.
fillBrush
The fill brush.

戻り値の型

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

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 メンバ
オーバーロード一覧
RenderRectangle クラス
RenderBlock メソッド
StartDoc メソッド
EndDoc メソッド
Generate メソッド