PrintDocument for WinForms
Draw(Graphics,Rectangle,Rectangle,Boolean,PageDrawParams) メソッド


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > RenderFragment クラス > Draw メソッド : Draw(Graphics,Rectangle,Rectangle,Boolean,PageDrawParams) メソッド
The System.Drawing.Graphics object to draw on.
The draw bounds.
The paretnt bounds.
true to draw child fragments, false to ignore them.
Specifies additional parameters of drawing.
Draws the current fragment on a specified System.Drawing.Graphics.
シンタックス
'宣言
 
Public Overloads Overridable Sub Draw( _
   ByVal graphics As System.Drawing.Graphics, _
   ByVal boundsPx As System.Drawing.Rectangle, _
   ByVal parentContentBoundsPx As System.Drawing.Rectangle, _
   ByVal renderChildren As System.Boolean, _
   ByVal pdp As PageDrawParams _
) 
'使用法
 
Dim instance As RenderFragment
Dim graphics As System.Drawing.Graphics
Dim boundsPx As System.Drawing.Rectangle
Dim parentContentBoundsPx As System.Drawing.Rectangle
Dim renderChildren As System.Boolean
Dim pdp As PageDrawParams
 
instance.Draw(graphics, boundsPx, parentContentBoundsPx, renderChildren, pdp)
public virtual void Draw( 
   System.Drawing.Graphics graphics,
   System.Drawing.Rectangle boundsPx,
   System.Drawing.Rectangle parentContentBoundsPx,
   System.bool renderChildren,
   PageDrawParams pdp
)

パラメータ

graphics
The System.Drawing.Graphics object to draw on.
boundsPx
The draw bounds.
parentContentBoundsPx
The paretnt bounds.
renderChildren
true to draw child fragments, false to ignore them.
pdp
Specifies additional parameters of drawing.
参照

RenderFragment クラス
RenderFragment メンバ
オーバーロード一覧