PdfLineElement Class

Defines a straight line segment drawn between two points in a PDF document. Coordinates are relative to the top-left corner of the page or template

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
C#
public class PdfLineElement
Inheritance
Object    PdfLineElement

Constructors

PdfLineElement Initializes a new instance of the PdfLineElement class with the specified endpoints

Properties

Accessibility Accessibility metadata used when the host PdfDocument is tagged. The default structure type for a line is Artifact, marking it as decorative graphic excluded from the structure tree
LineColor The stroke color of the line. The default value is black
LineOpacity The opacity of the line in the range 0..1. The default value is 1 which produces a fully opaque line
LineStyle The stroke style for the line, including width, dash pattern and endpoint cap style
X1 The X coordinate of the start point in points, measured from the top-left corner of the page
X2 The X coordinate of the end point in points, measured from the top-left corner of the page
Y1 The Y coordinate of the start point in points, measured from the top-left corner of the page
Y2 The Y coordinate of the end point in points, measured from the top-left corner of the page

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also