[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.PdfArray

Class PdfArray

Namespace
GrapeCity.Documents.Pdf.Spec
Assembly
GcDocs.Pdf.dll

Represents a PDF Array object.

public class PdfArray : List<IPdfObject>, IList<IPdfObject>, ICollection<IPdfObject>, IList, ICollection, IReadOnlyList<IPdfObject>, IReadOnlyCollection<IPdfObject>, IEnumerable<IPdfObject>, IEnumerable, IPdfArray
Inheritance
PdfArray
Implements
Inherited Members
Extension Methods

Constructors

PdfArray()

Initializes a new instance of the PdfArray class.

public PdfArray()

PdfArray(Offsets)

Initializes a new instance of the PdfArray class.

public PdfArray(Offsets offsets)

Parameters

offsets Offsets

PdfArray(params IPdfObject[])

Initializes a new instance of the PdfArray class.

public PdfArray(params IPdfObject[] items)

Parameters

items IPdfObject[]

PdfArray(IReadOnlyList<Quadrilateral>)

Initializes a new instance of the PdfArray class.

public PdfArray(IReadOnlyList<Quadrilateral> value)

Parameters

value IReadOnlyList<Quadrilateral>

PdfArray(IReadOnlyList<PointF>)

Initializes a new instance of the PdfArray class.

public PdfArray(IReadOnlyList<PointF> value)

Parameters

value IReadOnlyList<PointF>

PdfArray(double, double, double, double)

Initializes a new instance of the PdfArray class.

public PdfArray(double x, double y, double width, double height)

Parameters

x double
y double
width double
height double

PdfArray(Color)

Initializes a new instance of the PdfArray class.

public PdfArray(Color value)

Parameters

value Color

PdfArray(RectangleF)

Initializes a new instance of the PdfArray class.

public PdfArray(RectangleF rect)

Parameters

rect RectangleF

PdfArray(int)

Initializes a new instance of the PdfArray class.

public PdfArray(int capacity)

Parameters

capacity int

PdfArray(int[])

Initializes a new instance of the PdfArray class.

public PdfArray(int[] values)

Parameters

values int[]

PdfArray(Matrix3x2)

Initializes a new instance of the PdfArray class.

public PdfArray(Matrix3x2 matrix)

Parameters

matrix Matrix3x2

PdfArray(float[])

Initializes a new instance of the PdfArray class.

public PdfArray(float[] values)

Parameters

values float[]

Fields

IdentityMatrix

The PdfArray representing the Identity matrix.

public static readonly PdfArray IdentityMatrix

Field Value

PdfArray

Properties

Changed

Gets a value indicating whether this PdfArray was changed.

public bool Changed { get; set; }

Property Value

bool

Methods

CreateNamesArray(IEnumerable<string>, bool)

Creates the PdfArray of PdfName objects, returns null if strings is null.

public static PdfArray CreateNamesArray(IEnumerable<string> strings, bool skipEmpty = true)

Parameters

strings IEnumerable<string>

The list of strings.

skipEmpty bool

Indicates whether to skip empty or null strings.

Returns

PdfArray

The created PdfArray object.

CreateStringsArray(IEnumerable<string>, bool)

Creates the PdfArray of PdfString objects, returns null if strings is null.

public static PdfArray CreateStringsArray(IEnumerable<string> strings, bool skipEmpty = true)

Parameters

strings IEnumerable<string>

The list of strings.

skipEmpty bool

Indicates whether to skip empty or null strings.

Returns

PdfArray

The created PdfArray object.

ToString()

public override string ToString()

Returns

string