RenderDirectPolygon(IEnumerable,Boolean,Style) Method
In This Topic
Creates a
C1.C1Preview.RenderPolygon from a collection of
C1.C1Preview.UnitPoint objects, and renders it on the current page, at position specified by the points' coordinates.
Syntax
'Declaration
Public Overloads Sub RenderDirectPolygon( _
ByVal As IEnumerable, _
ByVal As Boolean, _
ByVal As Style _
)
public void RenderDirectPolygon(
IEnumerable ,
bool ,
Style
)
Parameters
- points
- The collection of C1.C1Preview.UnitPoint objects (an exception occurs if an object that is not a C1.C1Preview.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 C1.C1Preview.C1PrintDocument.Style to use.
See Also