Draws the current fragment and its children on a specified System.Drawing.Graphics.
シンタックス
'宣言
Public Overloads Sub Draw( _
ByVal As System.Drawing.Graphics, _
ByVal As System.Drawing.Rectangle, _
ByVal As System.Boolean, _
ByVal As System.Boolean _
)
'使用法
Dim instance As RenderFragment
Dim graphics As System.Drawing.Graphics
Dim parentContentBoundsPx As System.Drawing.Rectangle
Dim renderInputControls As System.Boolean
Dim writeMetafileComments As System.Boolean
instance.Draw(graphics, parentContentBoundsPx, renderInputControls, writeMetafileComments)
public void Draw(
System.Drawing.Graphics ,
System.Drawing.Rectangle ,
System.bool ,
System.bool
)
パラメータ
- graphics
- The System.Drawing.Graphics object to draw on.
- parentContentBoundsPx
- The paretnt bounds.
- renderInputControls
- true to draw input controls (see RenderInputBase), false to ignore them.
- writeMetafileComments
- true to write metafile comments containing anchors, hyperlinks etc.
参照