Class DocumentUtils

DocumentUtils class

This class provides utilities beyond the formal XPS manipulation API.

public class DocumentUtils

Methods

NameDescription
CreateCircle(PointF, float)Creates a path geometry representing a circle.
CreateCircularSegment(PointF, float, float, float)Creates a path geometry representing a circular segment between two angles.
CreateEllipse(PointF, float, float)Creates a path geometry representing an ellipse.
CreateImage(string, RectangleF, ImageMode)Creates a rectangular path filled with an image.
CreatePieSlice(PointF, float, float, float)Creates a path geometry representing a circle slice between two radial rays.
CreateRectangle(RectangleF)Creates a path geometry representing a rectangle.
CreateRegularCircumscribedNGon(int, PointF, float)Creates a path geometry representing a regular n-gon circumscribed around a circle.
CreateRegularInscribedNGon(int, PointF, float)Creates a path geometry representing a regular n-gon inscribed in a circle.

See Also