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


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > C1PrintDocument クラス > RenderDirectRectangle メソッド : RenderDirectRectangle(Unit,Unit,Unit,Unit,LineDef,Brush) メソッド
The horizontal (X) coordinate at which to render the rectangle (cannot be auto).
The vertical (Y) coordinate at which to render the rectangle (cannot be auto).
The width of the rectangle.
The height of the rectangle.
The LineDef to draw the rectangle with.
The fill brush.
Adds a rectangle to the C1PrintDocument.Body of the current document at a specific position on the current page, and resolves it.
シンタックス
'宣言
 
Public Overloads Sub RenderDirectRectangle( _
   ByVal x As Unit, _
   ByVal y As Unit, _
   ByVal width As Unit, _
   ByVal height As Unit, _
   ByVal line As LineDef, _
   ByVal fillBrush As System.Drawing.Brush _
) 
'使用法
 
Dim instance As C1PrintDocument
Dim x As Unit
Dim y As Unit
Dim width As Unit
Dim height As Unit
Dim line As LineDef
Dim fillBrush As System.Drawing.Brush
 
instance.RenderDirectRectangle(x, y, width, height, line, fillBrush)
public void RenderDirectRectangle( 
   Unit x,
   Unit y,
   Unit width,
   Unit height,
   LineDef line,
   System.Drawing.Brush fillBrush
)

パラメータ

x
The horizontal (X) coordinate at which to render the rectangle (cannot be auto).
y
The vertical (Y) coordinate at which to render the rectangle (cannot be auto).
width
The width of the rectangle.
height
The height of the rectangle.
line
The LineDef to draw the rectangle with.
fillBrush
The fill brush.
解説

This method can only be used between calls to C1PrintDocument.StartDoc and C1PrintDocument.EndDoc methods on the current document. For details, see C1PrintDocument.RenderDirect.

参照

C1PrintDocument クラス
C1PrintDocument メンバ
オーバーロード一覧
RenderRectangle クラス
RenderDirect(Unit,Unit,RenderObject,Object,Object) メソッド
StartDoc メソッド
EndDoc メソッド
Generate メソッド