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


C1.PrintDocument.4.5.2 アセンブリ > C1.C1Preview 名前空間 > RenderFragment クラス > Draw メソッド : Draw(Graphics,Rectangle,Boolean,Boolean) メソッド
描画先の System.Drawing.Graphicsオブジェクト。
親境界。
入力コントロールを描画する場合は true( RenderInputBaseを参照)、無視する場合は false。
アンカー、ハイパーリンクなどを含むメタファイルコメントを書き込む場合は true。
現在のフラグメントとその子を指定した System.Drawing.Graphics上に描画します。
シンタックス
'宣言
 
Public Overloads Sub Draw( _
   ByVal graphics As System.Drawing.Graphics, _
   ByVal parentContentBoundsPx As System.Drawing.Rectangle, _
   ByVal renderInputControls As System.Boolean, _
   ByVal writeMetafileComments 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 graphics,
   System.Drawing.Rectangle parentContentBoundsPx,
   System.bool renderInputControls,
   System.bool writeMetafileComments
)

パラメータ

graphics
描画先の System.Drawing.Graphicsオブジェクト。
parentContentBoundsPx
親境界。
renderInputControls
入力コントロールを描画する場合は true( RenderInputBaseを参照)、無視する場合は false。
writeMetafileComments
アンカー、ハイパーリンクなどを含むメタファイルコメントを書き込む場合は true。
参照

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