API Documentation > CorelDRAW > 2025-v26
IVGApplication interface
The main interface for Application class
Syntax:
Interface IVGApplication
Properties:
Name Description
ActiveDocument Gets the reference to the currently active document
ActiveLayer Gets the active layer
ActivePage Gets the reference to the currently active page
ActivePalette Gets the reference to the currently active palette
ActiveSelection Gets the active selection
ActiveSelectionRange Gets the active selection range
ActiveShape Gets the active shape
ActiveSpread Returns the active page spread in the current document
ActiveTool Gets or sets the active tool
ActiveToolStateGuid Gets or sets the active tool state
ActiveTreeManager Returns the tree manager object of the active document
ActiveVirtualLayer Returns the virtual layer object of the active document
ActiveWindow Gets the reference to the currently active window
ActiveWorkspace Gets the reference to the currently active workspace
AddonPath Returns a full path to the application's Addons folder
Application Gets the application to which the object belongs
AppWindow Gets the reference to the application's main window
ArrowHeads Gets the ArrowHead Collection
Class Returns the application class
Clipboard Gets the clipboard
ColorManager Returns the application color manager object
CommandBars Gets a collection of all command bars
Components Returns a collection of application-specific components
ConfigPath Gets the full path of the 'Config' directory
DefaultColorContext Returns the application default color context used for supplying color context to new documents. This object is read-only and cannot be modified. Use DefaultColorContext property on ColorManager object to edit application default color context.
Documents Gets the collection of documents open in the application
EnhancedOutlines Returns a collection of enhanced outline styles
EventsEnabled Gets or sets if the Events are enabled
FontList Gets a collection of all available fonts' names
FrameWork Gets FrameWork
GlobalUserData Returns a set of custom user settings which are preserved between application sessions
GMSManager Gets a GMS Manager object
ID Returns the application ID
LanguagePath Returns the path to the language-specific data files
MainMenu Gets the main menu
Name Returns the application name
Optimization Gets or sets whether to use optimization
OutlineStyles Gets the Outline styles Collection
PageSizes Gets the collection of all page sizes defined for the application
PaletteManager Returns an instance of the palette manager object
Palettes Gets a collection of the currently open palettes
PanoseMatching Gets or sets the Panose Font Matching type
Parent Gets the application to which the object belongs
Path Gets the full path of the application directory
PatternCanvases Gets the Pattern Canvas Collection
PlatformVersionMajor Returns the major version of the application automation engine
PlatformVersionMinor Returns the minor version of the application automation engine
Printers Returns the collection of installed printers
PrintJob Returns the current multi-document print job settings
ProgramPath Returns a full path to the application's Programs folder
RecentFiles Gets the collection of all files in the Recent File list
SessionUserData Returns a set of custom user settings which are available only during the current application session
SetupPath Gets the full path of the main setup directory
StartupMode Gets or sets the default application action at startup
Status Returns the application status object
StatusBar Gets the status bar
SymbolLibraries List of all symbol libraries visible in the Symbols docker
UILanguage Gets the current user interface language
UILanguageCode Gets the language code of the application UI
Unit Specifies the default unit of measurements for methods and properties when there is no document context
UserDataPath Returns a path to the application data folder in user system profile
UserWorkspacePath Returns the path to the user workspace
VBE Gets the VBA editor reference
Version Gets a verbose description of the current application version
VersionBuild Gets the build number of the current application version
VersionMajor Gets the major version number of the application
VersionMinor Gets the minor version number of the application
Visible Gets or sets the visibility of the application window; allows you to hide or show the application
Windows Gets a collection of windows open in the application
Workspaces Gets a collection of workspaces available in the application
Methods:
Name Description
AddPluginCommand Registers a new command to be used with addins/plugins
AdviseEvents Advises application events
cdrMixedDouble Constant value corresponding to a mixed (uneven) double
cdrMixedLong Constant value corresponding to a mixed (uneven) long
cdrMixedSingle Constant value corresponding to a mixed (uneven) single
CheckPlatformVersion Compares the specified version to that of the automation engine
ConvertFromUnicode Converts a string from Unicode into the specified code page
ConvertToUnicode Converts a string from a given code page into a Unicode string
ConvertUnits Converts a measurement from one unit to another
CorelScriptTools Corel SCRIPT Tools
CreateBWColor Creates a BW color
CreateCMYColor Creates a CMY color
CreateCMYKColor Creates a CMYK color
CreateColor Creates a color object
CreateColorContext Creates a new color context from color profiles provided
CreateColorContext2 Creates a new color context using a comma-separated list of profile names
CreateColorEx Creates a default color
CreateCurve Creates an instance of Curve object and optionally binds it to a document
CreateDocument Creates a new document
CreateDocumentEx Creates a new document and allows to specify additional options
CreateDocumentFromTemplate Opens a document from a template
CreateDuotone Creates a new duotone information object
CreateFillMetadata Creates a new FillMetadata object instance
CreateGrayColor Creates a Gray color
CreateHLSColor Creates a HLS color
CreateHSBColor Creates a HSB color
CreateLabColor Creates a Lab color
CreateMarkupAuthor Create a markup identity
CreateNodeRange Creates an instance of NodeRange object
CreateOnScreenCurve Creates an on-screen xor'd curve
CreateOnScreenHandle Creates an on-screen xor'd handle
CreateOnScreenText Creates an on-screen xor'd text
CreateOutlineStyle Creates custom dash-dot outline pattern by specifying dash/gap lengths directly
CreatePaletteColor Creates a color object obtained from an existing color palette
CreatePatternCanvas Creates an instance of PatternCanvas object
CreateProofColorSettings Creates an instance of ProofColorSettings object
CreateProperties Creates a property collection
CreateRect Creates an object representing a rectangular area in a document
CreateRegistrationColor Creates a Registration color
CreateRGBColor Creates an RGB color
CreateSegmentRange Creates an instance of SegmentRange object
CreateShapeRange Creates an instance of ShapeRange object
CreateSpotColor Creates a spot color object
CreateSpotColorByName Creates a spot color object using a spot color name
CreateStructCreateOptions Creates an instance of StructCreateOptions object
CreateStructExportOptions Creates an instance of StructExportOptions object
CreateStructImportOptions Creates an instance of StructImportOptions object
CreateStructOpenOptions Creates an instance of StructOpenOptions object
CreateStructPaletteOptions Creates an instance of StructPaletteOptions object
CreateStructPasteOptions Creates an instance of StructPasteOptions object
CreateStructSaveAsOptions Creates an instance of StructSaveAsOptions object
CreateToolShapeAttributes Creates an instance of the ToolShapeAttributes
CreateYIQColor Creates a YIQ color
Evaluate Evaluates the given CQL expression and returns the result of the expression
ForceUpdateFontTable Forces the application to pick up all newly installed fonts immediately
GetApplicationPreferenceValue Gets an application preference value
GetGlobalPreferenceValue Gets a global preference value
GetSupportedOpenTypeFeatures Returns a list of OpenType features currently supported by the application
ImportWorkspace Imports workspace elements into the current workspace
InitializeVBA Forces the application to load and initialize VBA Editor
IsUILanguageAvailable Determines if a user interface language is installed
MarkupLogin Login your comment identity
MarkupLogout Logout your comment identity
OpenDocument Opens a document
OpenDocumentAsCopy Opens a document without maintaining a link to the original document file name
OpenDocumentEx Opens a document and allows to specify additional options
Quit Closes the application to which it belongs
Refresh Updates open dockers
RegisterToolShape Registers a tool shape
RegisterToolState Registers a tool state
RegisterUserApplicationPreference Registers a custom application preference
RemovePluginCommand Unregisters the plugin command
SetApplicationPreferenceValue Sets an application preference value
SetGlobalPreferenceValue Sets a global preference value
StartTemporaryToolState Activates a temporary tool state
UnadviseEvents Unadvises application events
UnregisterToolState Unregisters a tool state