Click or drag to resize
Pdf Library for .NET

PdfEllipseArcElement Class

Represents an ellipse arc drawn in a pdf document — the portion of an ellipse between two angles. The arc is stroke-only (no fill) using ForeColor (black by default) and LineStyle. The ellipse is inscribed in the rectangle (X, Y, Width, Height).
Inheritance Hierarchy
SystemObject
  SelectPdf.UniversalPdfPageElement
    SelectPdf.UniversalPdfElement
      SelectPdf.UniversalPdfEllipseArcElement

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public class PdfEllipseArcElement : PdfElement

The PdfEllipseArcElement type exposes the following members.

Constructors
 NameDescription
Public methodPdfEllipseArcElement Constructs an ellipse arc element.
Top
Properties
 NameDescription
Public propertyActualText Gets or sets the exact text represented by this element (the structure element's /ActualText entry), used when the drawn glyphs do not map to readable text.
(Inherited from PdfPageElement)
Public propertyAlternateText Gets or sets the alternate text describing this element for assistive technology (the structure element's /Alt entry). Required on figures for PDF/UA conformance.
(Inherited from PdfPageElement)
Public propertyArtifact Gets or sets a value indicating whether this element is an artifact — decorative or layout content that carries no meaning and is excluded from the logical structure (backgrounds, rules, running headers). Takes precedence over TagType.
(Inherited from PdfPageElement)
Public propertyBackColor Gets or sets the background fill color.
(Inherited from PdfElement)
Public propertyBlending Gets or sets the blending mode.
(Inherited from PdfElement)
Public propertyColorSpace Gets or sets the color space for the pdf element rendering.
(Inherited from PdfElement)
Public propertyForeColor Gets or sets the foreground color used for drawing outlines and text.
(Inherited from PdfElement)
Public propertyGradient Gets or sets the gradient fill. When set, overrides BackColor for fills.
(Inherited from PdfElement)
Public propertyHeightHeight of the rectangle enclosing the ellipse.
Public propertyLineStyle Gets or sets the line style for outline drawing.
(Inherited from PdfElement)
Public propertyRotated Gets a value indicating whether a rotation has been applied.
(Inherited from PdfElement)
Public propertyScaled Gets a value indicating whether a scale has been applied.
(Inherited from PdfElement)
Public propertySkewed Gets a value indicating whether a skew has been applied.
(Inherited from PdfElement)
Public propertyStartAngle Start angle in degrees, measured counter-clockwise from the X axis centered in the enclosing rectangle.
Public propertySweepAngle Sweep angle in degrees, measured counter-clockwise from the start angle.
Public propertyTagType Gets or sets the structure type used to tag this element in a tagged (accessible) document. Ignored unless the document's tagged mode (PdfDocument.Tagged) is enabled. Null (default) leaves the element untagged unless Artifact is set.
(Inherited from PdfPageElement)
Public propertyTranslated Gets a value indicating whether a translation has been applied.
(Inherited from PdfElement)
Public propertyTransparency Gets or sets the transparency level (0 = completely transparent, 100 = completely opaque).
(Inherited from PdfElement)
Public propertyWidthWidth of the rectangle enclosing the ellipse.
Public propertyXX coordinate of the rectangle enclosing the ellipse.
Public propertyYY coordinate of the rectangle enclosing the ellipse.
Top
Methods
 NameDescription
Public methodRotate Applies a rotation transformation.
(Inherited from PdfElement)
Public methodScale Applies a scale transformation.
(Inherited from PdfElement)
Public methodSkew Applies a skew transformation.
(Inherited from PdfElement)
Public methodTranslate Applies a translation transformation.
(Inherited from PdfElement)
Top
Example
PdfDocument document = new PdfDocument();
PdfPage page = document.AddPage();
PdfEllipseArcElement arc = new PdfEllipseArcElement(20, 20, 200, 120, 0, 180);
arc.ForeColor = new PdfColor(200, 0, 0);
page.Add(arc);
document.Save("out.pdf");
document.Close();
See Also