Skip to content

PDFSetLineWidthOperator

Namespace: O2S.Components.PDF4NET.Graphics.Operators

Defines the w (set line width) content stream operator.

public class PDFSetLineWidthOperator : PDFContentStreamOperator

Inheritance ObjectPDFContentStreamOperatorPDFSetLineWidthOperator

Constructors

PDFSetLineWidthOperator()

Initializes a new PDFSetLineWidthOperator object.

public PDFSetLineWidthOperator()

PDFSetLineWidthOperator(Double)

Initializes a new PDFSetLineWidthOperator object.

public PDFSetLineWidthOperator(double w)

Parameters

w Double
The line width.


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.


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.


W

Gets or sets the line width.

public double W { get; set; }

Property Value

Double
The line width.