PrintDocument for WinForms
RenderDirectGraphicsBegin メソッド (C1PrintDocument)


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > C1PrintDocument クラス : RenderDirectGraphicsBegin メソッド
The horizontal (X) coordinate on the current page.
The vertical (Y) coordinate on the current page.
Creates an internally maintained RenderGraphics object that can be used to add graphics at a specific position to the C1PrintDocument.Body of the document on the current page.
シンタックス
'宣言
 
Public Sub RenderDirectGraphicsBegin( _
   ByVal x As Unit, _
   ByVal y As Unit _
) 
'使用法
 
Dim instance As C1PrintDocument
Dim x As Unit
Dim y As Unit
 
instance.RenderDirectGraphicsBegin(x, y)
public void RenderDirectGraphicsBegin( 
   Unit x,
   Unit y
)

パラメータ

x
The horizontal (X) coordinate on the current page.
y
The vertical (Y) coordinate on the current page.
解説
Between the calls to this method and C1PrintDocument.RenderDirectGraphicsEnd, use C1PrintDocument.CurrentDirectRenderGraphics property to access the RenderGraphics object that can be used to draw on.

This method throws an exception if a call to RenderDirectGraphicsBegin without a matching call to C1PrintDocument.RenderDirectGraphicsEnd has already been issued.

This method can only be used between calls to C1PrintDocument.StartDoc and C1PrintDocument.EndDoc methods on the current document. For details, see C1PrintDocument.RenderBlock.

参照

C1PrintDocument クラス
C1PrintDocument メンバ
RenderDirectGraphicsEnd メソッド
CurrentDirectRenderGraphics プロパティ
RenderGraphics クラス
StartDoc メソッド
EndDoc メソッド
Generate メソッド