PrintDocument for WinForms
RenderDirectLine(Unit,Unit,Unit,Unit,LineDef) メソッド


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > C1PrintDocument クラス > RenderDirectLine メソッド : RenderDirectLine(Unit,Unit,Unit,Unit,LineDef) メソッド
The X coordinate of the first point that the line connects.
The Y coordinate of the first point that the line connects.
The X coordinate of the second point that the line connects.
The Y coordinate of the second point that the line connects.
The LineDef to draw the line with.
Adds a line to the C1PrintDocument.Body of the current document at a specific position on the current page, and resolves it.
シンタックス
'宣言
 
Public Overloads Sub RenderDirectLine( _
   ByVal fromX As Unit, _
   ByVal fromY As Unit, _
   ByVal toX As Unit, _
   ByVal toY As Unit, _
   ByVal line As LineDef _
) 
'使用法
 
Dim instance As C1PrintDocument
Dim fromX As Unit
Dim fromY As Unit
Dim toX As Unit
Dim toY As Unit
Dim line As LineDef
 
instance.RenderDirectLine(fromX, fromY, toX, toY, line)
public void RenderDirectLine( 
   Unit fromX,
   Unit fromY,
   Unit toX,
   Unit toY,
   LineDef line
)

パラメータ

fromX
The X coordinate of the first point that the line connects.
fromY
The Y coordinate of the first point that the line connects.
toX
The X coordinate of the second point that the line connects.
toY
The Y coordinate of the second point that the line connects.
line
The LineDef to draw the line with.
解説

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

参照

C1PrintDocument クラス
C1PrintDocument メンバ
オーバーロード一覧
RenderLine クラス
RenderDirect(Unit,Unit,RenderObject,Object,Object) メソッド
StartDoc メソッド
EndDoc メソッド
Generate メソッド