UserProperties Class

Special property class which allows typed properties to be set and returned. It also allows the hookup of two default property objects to be searched if this property object does not contain the property.
Inheritance Hierarchy
SystemObject
  System.Collections.GenericDictionaryString, Object
    Aspose.PageUserProperties

Namespace:  Aspose.Page
Assembly:  Aspose.Page (in Aspose.Page.dll) Version: 20.1.0.0 (20.1)
Syntax
public class UserProperties : Dictionary<string, Object>

The UserProperties type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyComparer (Inherited from DictionaryString, Object.)
Public propertyCount (Inherited from DictionaryString, Object.)
Public propertyItem (Inherited from DictionaryString, Object.)
Public propertyKeys (Inherited from DictionaryString, Object.)
Public propertyProperties
Copies properties, including its defaults into this UserProperties
Public propertyValues (Inherited from DictionaryString, Object.)
Methods
  NameDescription
Public methodAdd (Inherited from DictionaryString, Object.)
Public methodClear (Inherited from DictionaryString, Object.)
Public methodContainsKey (Inherited from DictionaryString, Object.)
Public methodContainsValue (Inherited from DictionaryString, Object.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumerator (Inherited from DictionaryString, Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectData (Inherited from DictionaryString, Object.)
Public methodGetProperty(String)
Gets string property value.
Public methodGetProperty(String, String)
Gets string property value. If requested property is absent, returns provided default value.
Public methodGetPropertyColor(String)
Gets color property value.
Public methodGetPropertyColor(String, Color)
Gets color property value. If requested property is absent, returns provided default value.
Public methodGetPropertyDouble(String)
Gets double property value.
Public methodGetPropertyDouble(String, Double)
Gets double property value. If requested property is absent, returns provided default value.
Public methodGetPropertyFloat(String)
Gets float property value.
Public methodGetPropertyFloat(String, Single)
Gets float property value. If requested property is absent, returns provided default value.
Public methodGetPropertyInt(String)
Gets integer property value.
Public methodGetPropertyInt(String, Int32)
Gets integer property value. If requested property is absent, returns provided default value.
Public methodGetPropertyMargins(String)
Gets margins property value.
Public methodGetPropertyMargins(String, Margins)
Gets margins property value. If requested property is absent, returns provided default value.
Public methodGetPropertyRectangle(String)
Gets rectangle property value.
Public methodGetPropertyRectangle(String, RectangleF)
Gets rectangle property value. If requested property is absent, returns provided default value.
Public methodGetPropertySize(String)
Gets size property value.
Public methodGetPropertySize(String, Size)
Gets size property value. If requested property is absent, returns provided default value.
Public methodGetPropertyStringArray(String)
Gets string array property value.
Public methodGetPropertyStringArray(String, String)
Gets string array property value. If requested property is absent, returns provided default value.
Public methodGetType (Inherited from Object.)
Public methodIsProperty(String)
Gets boolean property value.
Public methodIsProperty(String, Boolean)
Gets boolean property value. If requested property is absent, returns provided default value.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOnDeserialization (Inherited from DictionaryString, Object.)
Public methodPropertyNames
Returns properties names.
Public methodRemove (Inherited from DictionaryString, Object.)
Public methodSetProperty(String, Margins)
Sets margins property value.
Public methodSetProperty(String, Boolean)
Sets boolean property value.
Public methodSetProperty(String, Double)
Sets double property value.
Public methodSetProperty(String, Color)
Sets color property value.
Public methodSetProperty(String, Rectangle)
Sets rectangle property value.
Public methodSetProperty(String, Size)
Sets size property value.
Public methodSetProperty(String, Int32)
Sets integer property value.
Public methodSetProperty(String, Single)
Sets float property value.
Public methodSetProperty(String, String)
Sets string property value.
Public methodSetProperty(String, String)
Sets string array property value.
Public methodStatic memberSetProperty(DictionaryString, Object, String, Margins)
Sets margins property value in specified properties table.
Public methodStatic memberSetProperty(DictionaryString, Object, String, Boolean)
Sets boolean property value in specified properties table.
Public methodStatic memberSetProperty(DictionaryString, Object, String, Double)
Sets double property value in specified properties table.
Public methodStatic memberSetProperty(DictionaryString, Object, String, Color)
Sets color property value in specified properties table.
Public methodStatic memberSetProperty(DictionaryString, Object, String, Rectangle)
Sets rectangle property value in specified properties table.
Public methodStatic memberSetProperty(DictionaryString, Object, String, Size)
Sets size property value in specified properties table.
Public methodStatic memberSetProperty(DictionaryString, Object, String, Int32)
Sets integer property value in specified properties table.
Public methodStatic memberSetProperty(DictionaryString, Object, String, Single)
Sets float property value in specified properties table.
Public methodStatic memberSetProperty(DictionaryString, Object, String, String)
Sets string array property value in specified properties table.
Public methodToString (Inherited from Object.)
Public methodTryGetValue (Inherited from DictionaryString, Object.)
Fields
  NameDescription
Protected fieldaltDefaults
An alternative properties values.
See Also