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


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > RenderFragment クラス > Draw メソッド : Draw(Graphics,Rectangle,Rectangle,Boolean,Boolean,Boolean) メソッド
The System.Drawing.Graphics object to draw on.
The draw bounds.
The paretnt bounds.
true to draw input controls (see RenderInputBase), false to ignore them.
true to draw child fragments, false to ignore them.
Indicates whether to write metafile comments to graphics: info about anchors, hyperlinks etc.
Draws the current fragment on a specified System.Drawing.Graphics.
シンタックス
'宣言
 
Public Overloads Sub Draw( _
   ByVal graphics As System.Drawing.Graphics, _
   ByVal boundsPx As System.Drawing.Rectangle, _
   ByVal parentContentBoundsPx As System.Drawing.Rectangle, _
   ByVal renderInputControls As System.Boolean, _
   ByVal renderChildren As System.Boolean, _
   ByVal writeMetafileComments As System.Boolean _
) 
'使用法
 
Dim instance As RenderFragment
Dim graphics As System.Drawing.Graphics
Dim boundsPx As System.Drawing.Rectangle
Dim parentContentBoundsPx As System.Drawing.Rectangle
Dim renderInputControls As System.Boolean
Dim renderChildren As System.Boolean
Dim writeMetafileComments As System.Boolean
 
instance.Draw(graphics, boundsPx, parentContentBoundsPx, renderInputControls, renderChildren, writeMetafileComments)
public void Draw( 
   System.Drawing.Graphics graphics,
   System.Drawing.Rectangle boundsPx,
   System.Drawing.Rectangle parentContentBoundsPx,
   System.bool renderInputControls,
   System.bool renderChildren,
   System.bool writeMetafileComments
)

パラメータ

graphics
The System.Drawing.Graphics object to draw on.
boundsPx
The draw bounds.
parentContentBoundsPx
The paretnt bounds.
renderInputControls
true to draw input controls (see RenderInputBase), false to ignore them.
renderChildren
true to draw child fragments, false to ignore them.
writeMetafileComments
Indicates whether to write metafile comments to graphics: info about anchors, hyperlinks etc.
参照

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