Class
CollectionItemValue

Represents a value in a collection item dictionary, storing custom metadata for an embedded file in a PDF Portfolio.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Model.Collections

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

cs-api-definition
public class CollectionItemValue

Inheritance: objectCollectionItemValue

Properties

DateValue

Gets the date value if ValueType is Date.

Declaration

cs-api-definition
public DateTime? DateValue { get; }

Property Value

DateTime?

The date value, or null if the value is not a date type.

NumberValue

Gets the numeric value if ValueType is Number.

Declaration

cs-api-definition
public double? NumberValue { get; }

Property Value

double?

The numeric value, or null if the value is not a number type.

Prefix

Gets or sets an optional prefix that is displayed before the main value in the PDF viewer. This corresponds to the P entry in a CollectionSubitem dictionary (PDF 1.7).

Declaration

cs-api-definition
public string Prefix { get; set; }

Property Value

string

Remarks

When a prefix is set, the value is exported as a CollectionSubitem dictionary with P and D entries. Example: A subject field might have prefix "Re:" and data "Let's have lunch on Friday!".

TextValue

Gets the text value if ValueType is Text.

Declaration

cs-api-definition
public string TextValue { get; }

Property Value

string

The text value, or null if the value is not a text type.

ValueType

Gets the type of this collection item value.

Declaration

cs-api-definition
public CollectionItemValueType ValueType { get; }

Property Value

CollectionItemValueType