![]() |
||
|
[ First | Prev | Next | Last ]
Properties
The CFOBaseProperties class is the base class for property values. Classes derived from CFOBaseProperties represent either specific data types or nested properties. The CFOBaseProperties class ties a property value. The CFODrawShape
class does provide methods for accessing property value objects directly,
however it is usually more convenient to get and set property values through the
property container interfaces. It is sometimes useful to manipulate nested or
compound properties directly. Each property is assigned a unique identifier. Property ID Start at 5000. Property ID from 5100 and up can be used by customer applications to define custom properties. A component may have more than one property of the same type, as long as their ID are unique. For example, it is possible for a component to have two font properties. Property ID are used to lookup properties within a list.
This allows you to identify the property as being of a certain type, such as a
font property. By default, the ID is set to reflect the different property
classes. For example, the default component property object has an ID of FO_DEFAULT_PROP_ID.
However, you can change this ID to identify a specific property. The following code segment shows how to set a property for a component:
Details:
|
|
|||||||||||||||||||
Copyright ?1998-2007 UCanCode.Net Software, all rights reserved.
Other product and company names herein may be the trademarks of their respective owners.
Please direct your questions or comments to webmaster@ucancode.com