FlexReport for WinForms
DrawLine メソッド (C1DXTextLayout)


C1.Win.Document.8 アセンブリ > C1.Win.Document.Util 名前空間 > C1DXTextLayout クラス : DrawLine メソッド
C1.Document.Util.C1Graphics オブジェクトは、C1.Win.Document.C1Document の描画面を実装します。
最初の点の X 座標。
最初の点の Y 座標。
2 番目の点の X 座標。
2 番目の点の Y 座標。
線の色。
線の幅。
C1.Document.DashStyle スタイル。
線を描画します。
シンタックス
'宣言
 
Protected Overridable Sub DrawLine( _
   ByVal graphics As C1Graphics, _
   ByVal x1 As System.Double, _
   ByVal y1 As System.Double, _
   ByVal x2 As System.Double, _
   ByVal y2 As System.Double, _
   ByVal lineColor As System.Drawing.Color, _
   ByVal lineWidth As System.Double, _
   ByVal lineStyle As DashStyle _
) 
'使用法
 
Dim instance As C1DXTextLayout
Dim graphics As C1Graphics
Dim x1 As System.Double
Dim y1 As System.Double
Dim x2 As System.Double
Dim y2 As System.Double
Dim lineColor As System.Drawing.Color
Dim lineWidth As System.Double
Dim lineStyle As DashStyle
 
instance.DrawLine(graphics, x1, y1, x2, y2, lineColor, lineWidth, lineStyle)
protected virtual void DrawLine( 
   C1Graphics graphics,
   System.double x1,
   System.double y1,
   System.double x2,
   System.double y2,
   System.Drawing.Color lineColor,
   System.double lineWidth,
   DashStyle lineStyle
)

パラメータ

graphics
C1.Document.Util.C1Graphics オブジェクトは、C1.Win.Document.C1Document の描画面を実装します。
x1
最初の点の X 座標。
y1
最初の点の Y 座標。
x2
2 番目の点の X 座標。
y2
2 番目の点の Y 座標。
lineColor
線の色。
lineWidth
線の幅。
lineStyle
C1.Document.DashStyle スタイル。
参照

参照

C1DXTextLayout クラス
C1DXTextLayout メンバ