DioDocs for PDF
DrawRectangle(RectangleF,Color,Single,DashStyle) メソッド

GrapeCity.Documents.Imaging アセンブリ > GrapeCity.Documents.Drawing 名前空間 > GcGraphics クラス > DrawRectangle メソッド : DrawRectangle(RectangleF,Color,Single,DashStyle) メソッド
A System.Drawing.RectangleF structure that represents the rectangle to draw.
The color of lines used to draw the rectangle.
The width of lines used to draw the rectangle.
The style of lines used to draw the rectangle (solid by default).
Draws a rectangle using a specified line color, width and style.

If the value of lineStyle parameter is not DashStyle.Solid, the rectangle is drawn with a Pen having Pen.LineCap set to PenLineCap.Square instead of PenLineCap.Flat.

シンタックス
'宣言
 
Public Overloads Sub DrawRectangle( _
   ByVal bounds As System.Drawing.RectangleF, _
   ByVal lineColor As System.Drawing.Color, _
   ByVal lineWidth As System.Single, _
   Optional ByVal lineStyle As DashStyle _
) 
public void DrawRectangle( 
   System.Drawing.RectangleF bounds,
   System.Drawing.Color lineColor,
   System.float lineWidth,
   DashStyle lineStyle
)

パラメータ

bounds
A System.Drawing.RectangleF structure that represents the rectangle to draw.
lineColor
The color of lines used to draw the rectangle.
lineWidth
The width of lines used to draw the rectangle.
lineStyle
The style of lines used to draw the rectangle (solid by default).
参照

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