Click or drag to resize

PdfPathContent Class

Represents a geometrical PDF content composed of lines and curves.
Inheritance Hierarchy

Namespace: SautinSoft.Pdf.Content
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2026.5.19
Syntax
public sealed class PdfPathContent : PdfVisualContentElement

The PdfPathContent type exposes the following members.

Properties
 NameDescription
Public propertyBounds Gets the upright bounds of the PdfPathContent.
(Overrides PdfVisualContentElementBounds)
Public propertyElementType Gets the Path value.
(Overrides PdfContentElementElementType)
Public propertySubpaths Gets the subpaths that this PdfPathContent is made up of.
Top
Methods
 NameDescription
Public methodAddEllipse(PdfPoint, PdfSize)

Adds an ellipse (a closed PdfSubpath) to the end of the Subpaths.

Note  Note
PDF doesn't natively support elliptic arcs so the ellipse is approximated with four Bézier curves.
Public methodAddEllipse(Double, Double, Double, Double)

Adds an ellipse (a closed PdfSubpath) to the end of the Subpaths.

Note  Note
PDF doesn't natively support elliptic arcs so the ellipse is approximated with four Bézier curves.
Public methodAddRectangle(PdfPoint, PdfSize) Adds a rectangle (a closed PdfSubpath) to the end of the Subpaths.
Public methodAddRectangle(Double, Double, Double, Double) Adds a rectangle (a closed PdfSubpath) to the end of the Subpaths.
Public methodArcTo(PdfSize, PdfPoint, Boolean, Boolean, Double)

Adds a elliptic arc to the end of the Segments of the last PdfSubpath in the Subpaths.

Note  Note
PDF doesn't natively support elliptic arcs so the arc is approximated with one to four Bézier curves.
Public methodArcTo(Double, Double, Double, Double, Boolean, Boolean, Double)

Adds a elliptic arc to the end of the Segments of the last PdfSubpath in the Subpaths.

Note  Note
PDF doesn't natively support elliptic arcs so the arc is approximated with one to four Bézier curves.
Public methodBeginSubpath(PdfPoint) Begin a new subpath.
Public methodBeginSubpath(Double, Double) Begin a new subpath.
Public methodBeginSubpath(PdfPoint, Boolean) Begin a new, optionally closed, subpath.
Public methodBeginSubpath(Double, Double, Boolean) Begin a new, optionally closed, subpath.
Public methodBezierTo(PdfPoint, PdfPoint, PdfPoint) Adds a cubic Bézier curve to the end of the Segments of the last PdfSubpath in the Subpaths.
Public methodBezierTo(Double, Double, Double, Double, Double, Double) Adds a cubic Bézier curve to the end of the Segments of the last PdfSubpath in the Subpaths.
Public methodCloseSubpath Closes the last PdfSubpath in the Subpaths.
Public methodLineTo(PdfPoint) Adds a straight line to the end of the Segments of the last PdfSubpath in the Subpaths.
Public methodLineTo(Double, Double) Adds a straight line to the end of the Segments of the last PdfSubpath in the Subpaths.
Top
See Also