[]
        
(Showing Draft Content)

C1.C1Pdf.C1PdfDocument.DrawPath

DrawPath Method

DrawPath(Pen, GraphicsPath)

Draws a path defined by a GraphicsPath object.

Declaration
public void DrawPath(Pen pen, GraphicsPath path)
Public Sub DrawPath(pen As Pen, path As GraphicsPath)
Parameters
Type Name Description
Pen pen

The Pen used to stroke the specified path.

GraphicsPath path

The GraphicsPath to draw.

DrawPath(Pen, GraphicsPath, bool)

Draws a path defined by a GraphicsPath object.

Declaration
public void DrawPath(Pen pen, GraphicsPath path, bool close)
Public Sub DrawPath(pen As Pen, path As GraphicsPath, close As Boolean)
Parameters
Type Name Description
Pen pen

The Pen used to stroke the specified path.

GraphicsPath path

The GraphicsPath to draw.

bool close

Whether is closed path (figure) or not.

DrawPath(Pen, PointF[], byte[], bool)

Draws a path defined by points and types.

Declaration
public void DrawPath(Pen pen, PointF[] points, byte[] types, bool close)
Public Sub DrawPath(pen As Pen, points As PointF(), types As Byte(), close As Boolean)
Parameters
Type Name Description
Pen pen

The Pen used to stroke the specified path.

PointF[] points

The path points to draw.

byte[] types

The path types to draw.

bool close

Whether is closed path (figure) or not.