Draws the current fragment on a specified System.Drawing.Graphics.
シンタックス
'宣言
Public Overloads Sub Draw( _
ByVal As System.Drawing.Graphics, _
ByVal As System.Drawing.Rectangle, _
ByVal As System.Drawing.Rectangle, _
ByVal As System.Boolean, _
ByVal As System.Boolean, _
ByVal 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 ,
System.Drawing.Rectangle ,
System.Drawing.Rectangle ,
System.bool ,
System.bool ,
System.bool
)
パラメータ
- 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.
参照