Aspose::Words::Properties Namespace Reference

Classes

class  BuiltInDocumentProperties
 A collection of built-in document properties. More...
 
class  CustomDocumentProperties
 A collection of custom document properties. More...
 
class  DocumentProperty
 Represents a custom or built-in document property. More...
 
class  DocumentPropertyCollection
 Base class for Aspose::Words::Properties::BuiltInDocumentProperties and Aspose::Words::Properties::CustomDocumentProperties collections. More...
 

Enumerations

enum  DocumentSecurity {
  DocumentSecurity::None = 0x0000, DocumentSecurity::PasswordProtected = 0x0001, DocumentSecurity::ReadOnlyRecommended = 0x0002, DocumentSecurity::ReadOnlyEnforced = 0x0004,
  DocumentSecurity::ReadOnlyExceptAnnotations = 0x0008
}
 Used as a value for the Aspose::Words::Properties::BuiltInDocumentProperties::get_Security property. Specifies the security level of a document as a numeric value. More...
 
enum  PropertyType {
  PropertyType::Boolean, PropertyType::DateTime, PropertyType::Double, PropertyType::Number,
  PropertyType::String, PropertyType::StringArray, PropertyType::ObjectArray, PropertyType::ByteArray,
  PropertyType::Other
}
 Specifies data type of a document property. More...
 

Detailed Description

The Aspose.Words.Properties namespace provides classes to work with custom and built-in document properties such as title, keywords, company etc.

Enumeration Type Documentation

◆ DocumentSecurity

Used as a value for the Aspose::Words::Properties::BuiltInDocumentProperties::get_Security property. Specifies the security level of a document as a numeric value.

Enumerator
None 

There are no security states specified by the property.

PasswordProtected 

The document is password protected. (Note has never been seen in a document so far).

ReadOnlyRecommended 

The document to be opened read-only if possible, but the setting can be overridden.

ReadOnlyEnforced 

The document to always be opened read-only.

ReadOnlyExceptAnnotations 

The document to always be opened read-only except for annotations.

◆ PropertyType

Specifies data type of a document property.

See also
Aspose::Words::Properties::DocumentProperty, Aspose::Words::Properties::DocumentProperty::get_Type
Enumerator
Boolean 

The property is a boolean value.

DateTime 

The property is a date time value.

Double 

The property is a floating number.

Number 

The property is an integer number.

String 

The property is a string value.

StringArray 

The property is an array of strings.

ObjectArray 

The property is an array of objects.

ByteArray 

The property is an array of bytes.

Other 

The property is some other type.