Table of Contents

Class AliasOptions

Namespace
iText.Kernel.XMP.Options
Assembly
itext.kernel.dll

Options for XMPSchemaRegistryImpl#registerAlias.

public sealed class AliasOptions : Options
Inheritance
AliasOptions
Inherited Members

Constructors

AliasOptions()

public AliasOptions()
See Also

AliasOptions(int)

public AliasOptions(int options)

Parameters

options int

the options to init with

Fields

PROP_ARRAY

The actual is an unordered array, the alias is to the first element of the array.

public const int PROP_ARRAY = 512

Field Value

int

PROP_ARRAY_ALTERNATE

The actual is an alternate array, the alias is to the first element of the array.

public const int PROP_ARRAY_ALTERNATE = 2048

Field Value

int

PROP_ARRAY_ALT_TEXT

The actual is an alternate text array, the alias is to the 'x-default' element of the array.

public const int PROP_ARRAY_ALT_TEXT = 4096

Field Value

int

PROP_ARRAY_ORDERED

The actual is an ordered array, the alias is to the first element of the array.

public const int PROP_ARRAY_ORDERED = 1024

Field Value

int

PROP_DIRECT

This is a direct mapping.

public const int PROP_DIRECT = 0

Field Value

int

Remarks

This is a direct mapping. The actual data type does not matter.

Methods

DefineOptionName(int)

protected override string DefineOptionName(int option)

Parameters

option int

Returns

string
See Also

GetValidOptions()

protected override int GetValidOptions()

Returns

int
See Also

IsArray()

public bool IsArray()

Returns

bool

Returns the option.

IsArrayAltText()

public bool IsArrayAltText()

Returns

bool

Returns the option.

IsArrayAlternate()

public bool IsArrayAlternate()

Returns

bool

Returns the option.

IsArrayOrdered()

public bool IsArrayOrdered()

Returns

bool

Returns the option.

IsSimple()

public bool IsSimple()

Returns

bool

Returns if the alias is of the simple form.

SetArray(bool)

public AliasOptions SetArray(bool value)

Parameters

value bool

the value to set

Returns

AliasOptions

Returns the instance to call more set-methods.

SetArrayAltText(bool)

public AliasOptions SetArrayAltText(bool value)

Parameters

value bool

the value to set

Returns

AliasOptions

Returns the instance to call more set-methods.

SetArrayAlternate(bool)

public AliasOptions SetArrayAlternate(bool value)

Parameters

value bool

the value to set

Returns

AliasOptions

Returns the instance to call more set-methods.

SetArrayOrdered(bool)

public AliasOptions SetArrayOrdered(bool value)

Parameters

value bool

the value to set

Returns

AliasOptions

Returns the instance to call more set-methods.

ToPropertyOptions()

public PropertyOptions ToPropertyOptions()

Returns

PropertyOptions

returns a PropertyOptions s object