PrintDocument for WinForms
RenderDirectPolygon(IEnumerable,Boolean,Style) メソッド


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > C1PrintDocument クラス > RenderDirectPolygon メソッド : RenderDirectPolygon(IEnumerable,Boolean,Style) メソッド
The collection of UnitPoint objects (an exception occurs if an object that is not a UnitPoint is found in the collection).
A value indicating whether the polygon should be closed (i.e. the last point connected to the first one).
The C1PrintDocument.Style to use.
Creates a RenderPolygon from a collection of UnitPoint objects, and renders it on the current page, at position specified by the points' coordinates.
シンタックス
'宣言
 
Public Overloads Sub RenderDirectPolygon( _
   ByVal points As System.Collections.IEnumerable, _
   ByVal closed As System.Boolean, _
   ByVal style As Style _
) 
'使用法
 
Dim instance As C1PrintDocument
Dim points As System.Collections.IEnumerable
Dim closed As System.Boolean
Dim style As Style
 
instance.RenderDirectPolygon(points, closed, style)
public void RenderDirectPolygon( 
   System.Collections.IEnumerable points,
   System.bool closed,
   Style style
)

パラメータ

points
The collection of UnitPoint objects (an exception occurs if an object that is not a UnitPoint is found in the collection).
closed
A value indicating whether the polygon should be closed (i.e. the last point connected to the first one).
style
The C1PrintDocument.Style to use.
解説

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 メンバ
オーバーロード一覧
RenderPolygon クラス
RenderDirect(Unit,Unit,RenderObject,Object,Object) メソッド
StartDoc メソッド
EndDoc メソッド
Generate メソッド