Skip to main content

Class PdfInteger

Namespace: AdCodicem.Pdf.Objects
Assembly: AdCodicem.Pdf.dll

Represents a PDF integer.

public sealed class PdfInteger : PdfObject

Inheritance​

object ← PdfObject ← PdfInteger

Inherited Members​

PdfObject.Resolve(), object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Extension Methods​

PdfObjectExtensions.AsArray(PdfObject?), PdfObjectExtensions.AsBoolean(PdfObject?), PdfObjectExtensions.AsDictionary(PdfObject?), PdfObjectExtensions.AsInteger(PdfObject?), PdfObjectExtensions.AsName(PdfObject?), PdfObjectExtensions.AsNumber(PdfObject?), PdfObjectExtensions.AsStream(PdfObject?), PdfObjectExtensions.AsString(PdfObject?), PdfObjectExtensions.AsText(PdfObject?), PdfObjectExtensions.Resolved(PdfObject?)

Fields​

Zero​

The integer zero.

public static readonly PdfInteger Zero

Field Value​

PdfInteger

Properties​

Value​

Gets the integer value.

public long Value { get; }

Property Value​

long

Methods​

Create(long)​

Returns an instance for value, reusing a cached one for small values.

public static PdfInteger Create(long value)

Parameters​

value long

Returns​

PdfInteger

ToString()​

Returns a string that represents the current object.

public override string ToString()

Returns​

string

A string that represents the current object.