Table of Contents

Class ArrayToken

Namespace
UglyToad.PdfPig.Tokens
Assembly
UglyToad.PdfPig.Tokens.dll

An array object is a one-dimensional collection of objects arranged sequentially. PDF arrays may be heterogeneous; that is, an array's elements may be any combination of numbers, strings, dictionaries, or any other objects, including other arrays.

public class ArrayToken : IDataToken<IReadOnlyList<IToken>>, IToken, IEquatable<IToken>
Inheritance
ArrayToken
Implements
Inherited Members

Constructors

ArrayToken(IReadOnlyList<IToken>)

Create a new ArrayToken.

public ArrayToken(IReadOnlyList<IToken> data)

Parameters

data IReadOnlyList<IToken>

The tokens contained by this array.

Properties

Data

The tokens contained in this array.

public IReadOnlyList<IToken> Data { get; }

Property Value

IReadOnlyList<IToken>

this[int]

Indexer into Data for convenience.

public IToken this[int i] { get; }

Parameters

i int

Property Value

IToken

Length

The number of tokens in this array.

public int Length { get; }

Property Value

int

Methods

Equals(IToken)

public bool Equals(IToken obj)

Parameters

obj IToken

Returns

bool

ToString()

public override string ToString()

Returns

string