XpsPathGeometry.InsertSegment

XpsPathGeometry.InsertSegment method

Inserts a path segment to the list of child segments of the last path figure at index position.

public XpsPathSegment InsertSegment(int index, XpsPathSegment segment)
ParameterTypeDescription
indexInt32Position at which a segment should be inserted.
segmentXpsPathSegmentA path segment to be inserted.

Return Value

Inserted path segment.

See Also