API Documentation > CorelDRAW > 2025-v26
IVGStyle interface
The main interface for Style class
Syntax:
Interface IVGStyle
Properties:
Name Description
BasedOn Returns a style this style or styleset derives from
CategoryName Returns the category name for the style or styleset
Character Returns the character style properties
DerivedStyles Returns a list of styles or style sets that derive from this style or styleset
DisplayCategoryName Returns a UI-friendly category name for the style or styleset
DisplayName Returns a UI-friendly name of the style of styleset
Fill Returns the fill style properties
Frame Returns the frame style properties
IsObjectDefaults Returns true if this styleset represents default style properties for particular object type
IsStyleSet Returns true if this is a styleset
Name Returns the name of the style or styleset
Outline Returns the outline style properties
Paragraph Returns the paragraph style properties
Transparency Returns the transparency style properties
Methods:
Name Description
Assign Assigns the values of one style to another style
ClearProperty Removes the local override of a property
Delete Deletes the style
GetAllPropertyNames Returns a list of all the property names in the style category
GetCopy Gets a copy of the style
GetOverridePropertyNames Returns a list of the names for properties locally overridden in the style or styleset
GetProperty Returns a property value by name
GetPropertyAsString Retrieves a style property as a string
IsPropertyInherited Returns true if the property is inherited from a parent style or styleset
Rename Renames the style
SetBasedOn Changes the parent style this style derives from
SetProperty Sets a value of a property by name
SetPropertyAsString Sets a property value as a string
StringAssign Restores the style properties from a string
ToString Converts all the style properties to a string