Class PathSegment
Path segment
Inheritance
Implements
Namespace: IronSoftware
Assembly: IronPdf.dll
Syntax
public class PathSegment : Object
Working with Iron Software API in IronPDF runs through PathSegment. It represents path segment.
PathSegment matters when an application needs to configure or invoke Iron Software API from C# code. The class encapsulates the related options and behavior in a single object that is set up once and reused across render or processing calls. Typical scenarios include batch generation pipelines, templated document workflows, and integration with existing C# document services.
To use PathSegment, instantiate or obtain it from the relevant entry point in the IronPDF C# API. Key properties include Coordinate, IsClose, SeparateFromPrevious, Type. Assign options or invoke methods on the instance to configure or perform the operation.
using IronPdf;
var instance = new PathSegment();
var current = instance.Coordinate;
// Read or assign other properties such as IsClose, SeparateFromPreviousFor the broader workflow, see the IronPDF C# documentation for related how-to guides and examples. For broader context, the Iron Software API portion of the IronPDF C# API contains related types that work with PathSegment directly. PathSegment exposes additional members beyond those highlighted above; the reference tables on this page list the full set. In application code, treat PathSegment as a configured object that is constructed once and reused across operations rather than instantiated per call. Configuration is generally idempotent: assigning the same property value twice has the same effect as assigning it once. For diagnostic purposes, inspect the relevant PathSegment property after each operation to confirm the configured state. See the constructors, properties, and methods tables below for the complete API surface of PathSegment. Application code typically obtains or instantiates a single PathSegment and shares it across multiple IronPDF operations rather than recreating it per call. For multi-threaded scenarios, follow the threading guidance for the relevant IronPDF entry point; PathSegment instances are not assumed to be thread-safe unless documented.
Constructors
PathSegment()
Declaration
public PathSegment()
Properties
Coordinate
Declaration
public PointF Coordinate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Drawing.PointF |
IsClose
Declaration
public bool IsClose { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
SeparateFromPrevious
Declaration
public bool SeparateFromPrevious { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Type
Declaration
public PathSegmentTypes Type { get; set; }
Property Value
| Type | Description |
|---|---|
| IronSoftware.Abstractions.PathSegmentTypes |