Table of Contents

Class PdfArray

Namespace
PdfEngine.Vector.Objects
Assembly
PdfEngine.Vector.dll

Array object (ISO 32000-2 7.3.6).

public sealed record PdfArray : PdfObject, IEquatable<PdfObject>, IReadOnlyList<PdfObject>, IReadOnlyCollection<PdfObject>, IEnumerable<PdfObject>, IEnumerable, IEquatable<PdfArray>
Inheritance
PdfArray
Implements
Inherited Members

Constructors

PdfArray(IReadOnlyList<PdfObject>)

Array object (ISO 32000-2 7.3.6).

public PdfArray(IReadOnlyList<PdfObject> Items)

Parameters

Items IReadOnlyList<PdfObject>

Properties

Count

Gets the number of elements in the collection.

public int Count { get; }

Property Value

int

The number of elements in the collection.

this[int]

Gets the element at the specified index in the read-only list.

public PdfObject this[int index] { get; }

Parameters

index int

The zero-based index of the element to get.

Property Value

PdfObject

The element at the specified index in the read-only list.

Items

public IReadOnlyList<PdfObject> Items { get; init; }

Property Value

IReadOnlyList<PdfObject>

Methods

GetEnumerator()

Returns an enumerator that iterates through the collection.

public IEnumerator<PdfObject> GetEnumerator()

Returns

IEnumerator<PdfObject>

An enumerator that can be used to iterate through the collection.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.