Table of Contents

Class PdfUInteger

Namespace
PdfSharp.Pdf
Assembly
PdfSharp.dll

Represents a direct 32-bit unsigned integer value.

[Obsolete("This class is deprecated and will be removed.")]
public sealed class PdfUInteger : PdfNumber, ICloneable, IConvertible
Inheritance
PdfUInteger
Implements
Inherited Members

Constructors

PdfUInteger()

Initializes a new instance of the PdfUInteger class.

public PdfUInteger()

PdfUInteger(uint)

Initializes a new instance of the PdfUInteger class.

public PdfUInteger(uint value)

Parameters

value uint

Properties

Value

Gets the value as integer.

public uint Value { get; }

Property Value

uint

Methods

GetTypeCode()

Returns type code for 32-bit integers.

public TypeCode GetTypeCode()

Returns

TypeCode

ToBoolean(IFormatProvider?)

Converts the value of this instance to an equivalent Boolean value.

public bool ToBoolean(IFormatProvider? provider)

Parameters

provider IFormatProvider

Returns

bool

ToByte(IFormatProvider?)

Converts the value of this instance to an equivalent 8-bit unsigned integer.

public byte ToByte(IFormatProvider? provider)

Parameters

provider IFormatProvider

Returns

byte

ToChar(IFormatProvider?)

Converts the value of this instance to an equivalent Unicode character.

public char ToChar(IFormatProvider? provider)

Parameters

provider IFormatProvider

Returns

char

ToDateTime(IFormatProvider?)

Returns an undefined DateTime structure.

public DateTime ToDateTime(IFormatProvider? provider)

Parameters

provider IFormatProvider

Returns

DateTime

ToDecimal(IFormatProvider?)

Converts the value of this instance to an equivalent decimal number.

public decimal ToDecimal(IFormatProvider? provider)

Parameters

provider IFormatProvider

Returns

decimal

ToDouble(IFormatProvider?)

Converts the value of this instance to an equivalent double-precision floating-point number.

public double ToDouble(IFormatProvider? provider)

Parameters

provider IFormatProvider

Returns

double

ToInt16(IFormatProvider?)

Converts the value of this instance to an equivalent 16-bit signed integer.

public short ToInt16(IFormatProvider? provider)

Parameters

provider IFormatProvider

Returns

short

ToInt32(IFormatProvider?)

Converts the value of this instance to an equivalent 32-bit signed integer.

public int ToInt32(IFormatProvider? provider)

Parameters

provider IFormatProvider

Returns

int

ToInt64(IFormatProvider?)

Converts the value of this instance to an equivalent 64-bit signed integer.

public long ToInt64(IFormatProvider? provider)

Parameters

provider IFormatProvider

Returns

long

ToSByte(IFormatProvider?)

Converts the value of this instance to an equivalent 8-bit signed integer.

public sbyte ToSByte(IFormatProvider? provider)

Parameters

provider IFormatProvider

Returns

sbyte

ToSingle(IFormatProvider?)

Converts the value of this instance to an equivalent single-precision floating-point number.

public float ToSingle(IFormatProvider? provider)

Parameters

provider IFormatProvider

Returns

float

ToString()

Returns the unsigned integer as string.

public override string ToString()

Returns

string

ToType(Type, IFormatProvider?)

Returns null.

public object ToType(Type conversionType, IFormatProvider? provider)

Parameters

conversionType Type
provider IFormatProvider

Returns

object

ToUInt16(IFormatProvider?)

Converts the value of this instance to an equivalent 16-bit unsigned integer.

public ushort ToUInt16(IFormatProvider? provider)

Parameters

provider IFormatProvider

Returns

ushort

ToUInt32(IFormatProvider?)

Converts the value of this instance to an equivalent 32-bit unsigned integer.

public uint ToUInt32(IFormatProvider? provider)

Parameters

provider IFormatProvider

Returns

uint

ToUInt64(IFormatProvider?)

Converts the value of this instance to an equivalent 64-bit unsigned integer.

public ulong ToUInt64(IFormatProvider? provider)

Parameters

provider IFormatProvider

Returns

ulong