Table of Contents

Class PdfUserProperty

Namespace
iText.Kernel.Pdf.Tagging
Assembly
itext.kernel.dll
public class PdfUserProperty : PdfObjectWrapper<PdfDictionary>
Inheritance
PdfUserProperty
Inherited Members

Constructors

PdfUserProperty(string, bool)

public PdfUserProperty(string name, bool value)

Parameters

name string
value bool

PdfUserProperty(string, int)

public PdfUserProperty(string name, int value)

Parameters

name string
value int

PdfUserProperty(string, float)

public PdfUserProperty(string name, float value)

Parameters

name string
value float

PdfUserProperty(string, string)

public PdfUserProperty(string name, string value)

Parameters

name string
value string

PdfUserProperty(PdfDictionary)

public PdfUserProperty(PdfDictionary pdfObject)

Parameters

pdfObject PdfDictionary

Methods

GetName()

public virtual string GetName()

Returns

string

GetValueAsBool()

public virtual bool? GetValueAsBool()

Returns

bool?

GetValueAsFloat()

public virtual float? GetValueAsFloat()

Returns

float?

GetValueAsText()

public virtual string GetValueAsText()

Returns

string

GetValueFormattedRepresentation()

public virtual string GetValueFormattedRepresentation()

Returns

string

GetValueType()

public virtual PdfUserProperty.ValueType GetValueType()

Returns

PdfUserProperty.ValueType

IsHidden()

public virtual bool? IsHidden()

Returns

bool?

IsWrappedObjectMustBeIndirect()

protected override bool IsWrappedObjectMustBeIndirect()

Returns

bool

SetHidden(bool)

public virtual PdfUserProperty SetHidden(bool isHidden)

Parameters

isHidden bool

Returns

PdfUserProperty

SetName(string)

public virtual PdfUserProperty SetName(string name)

Parameters

name string

Returns

PdfUserProperty

SetValue(bool)

public virtual PdfUserProperty SetValue(bool value)

Parameters

value bool

Returns

PdfUserProperty

SetValue(int)

public virtual PdfUserProperty SetValue(int value)

Parameters

value int

Returns

PdfUserProperty

SetValue(float)

public virtual PdfUserProperty SetValue(float value)

Parameters

value float

Returns

PdfUserProperty

SetValue(string)

public virtual PdfUserProperty SetValue(string value)

Parameters

value string

Returns

PdfUserProperty

SetValueFormattedRepresentation(string)

public virtual PdfUserProperty SetValueFormattedRepresentation(string formattedRepresentation)

Parameters

formattedRepresentation string

Returns

PdfUserProperty