PropertyType

Overview

PropertyType is an enum in Aspose.Words FOSS for Java.

Specifies data type of a document property.

Edition status of its 14 listed members (a property and its accessor methods are listed separately, overloads once): 14 not yet exercised by a verified example.

This enum declares 4 methods for PropertyType objects in Java programs. Available methods include: fromName, getName, getValues, toString. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: values.

Values

ValueDescription
BOOLEANThe property is a boolean value.
DATE_TIMEThe property is a date time value.
DOUBLEThe property is a floating number.
NUMBERThe property is an integer number.
STRINGThe property is a string value.
STRING_ARRAYThe property is an array of strings.
OBJECT_ARRAYThe property is an array of objects.
BYTE_ARRAYThe property is an array of bytes.
OTHERThe property is some other type.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of PropertyType values.

Methods

SignatureDescription
getName(propertyType: int) → StringReturns JAVA_STYLE string representation of integer PropertyType value.
toString(propertyType: int) → StringReturns DotNetStyle string representation of integer PropertyType value.
fromName(propertyTypeName: String) → intReturns integer representation by PropertyType name.
getValues() → int[]Returns array of PropertyType values.

See Also