Skip to content

PDFSetLineDashPatternOperator

Namespace: O2S.Components.PDF4NET.Graphics.Operators

Defines the d (set line dash) content stream operator.

public class PDFSetLineDashPatternOperator : PDFContentStreamOperator

Inheritance ObjectPDFContentStreamOperatorPDFSetLineDashPatternOperator

Constructors

PDFSetLineDashPatternOperator()

Initializes a new PDFSetLineDashPatternOperator object.

public PDFSetLineDashPatternOperator()

PDFSetLineDashPatternOperator(Double[], Double)

Initializes a new PDFSetLineDashPatternOperator object.

public PDFSetLineDashPatternOperator(Double[] dashArray, double dashPhase)

Parameters

dashArray Double[]
An array of numbers that specify the lengths of alternating dashes and gaps.

dashPhase Double
The dash phase.


Properties

Context

Gets the content stream container from which the operator is extracted.

public PDFContentStreamContainer Context { get; internal set; }

Property Value

PDFContentStreamContainer
A content stream container object, a PDFPage or a PDFFormXObject.


DashArray

Gets or sets the dash array.

public Double[] DashArray { get; set; }

Property Value

Double[]
An array of numbers that specify the lengths of alternating dashes and gaps.


DashPhase

Gets or sets the dash phase.

public double DashPhase { get; set; }

Property Value

Double
The dash phase.


OpCode

Gets the operator code.

public string OpCode { get; }

Property Value

String
The operator code as it is written in the content stream.


Type

Gets or sets the operator type.

public PDFContentStreamOperatorType Type { get; set; }

Property Value

PDFContentStreamOperatorType
The type of this operator.