CorelDRAW:Application Members

From OberonPlace Development Portal

Jump to: navigation, search
This object model documentation page is a stub automatically generated from application type library.
Please help by editing this page and filling in the missing details.
For guidelines and help please visit Editing Object Model Pages

Contents

Application Members

Class Application has the following members:

Properties

Name Description
ActiveDocument Gets the reference to the currently active document (read-only)
ActiveLayer Gets the active layer (read-only)
ActivePage Gets the reference to the currently active page (read-only)
ActivePalette Gets the reference to the currently active palette (read-only)
ActiveSelection Gets the active selection (read-only)
ActiveSelectionRange Gets the active selection range (read-only)
ActiveShape Gets the active shape (read-only)
ActiveSpread Returns the active page spread in the current document (read-only)
ActiveTool Gets or sets the active tool
ActiveTreeManager Returns the tree manager object of the active document (read-only)
ActiveVirtualLayer Returns the virtual layer object of the active document (read-only)
ActiveWindow Gets the reference to the currently active window (read-only)
ActiveWorkspace Gets the reference to the currently active workspace (read-only)
AddIns Gets Addins (read-only)
Application Gets the application to which the object belongs (read-only)
AppWindow Gets the reference to the application's main window (read-only)
ArrowHeads Gets the ArrowHead Collection (read-only)
Class Returns the application class (read-only)
Clipboard Gets the clipboard (read-only)
ColorManager Returns the application color manager object (read-only)
CommandBars Gets a collection of all command bars (read-only)
Components Returns a collection of application-specific components (read-only)
ConfigPath Gets the full path of the 'Config' directory (read-only)
Documents Gets the collection of documents open in the application (read-only)
EnhancedOutlines Returns a collection of enhanced outline styles (read-only)
EventsEnabled Gets or sets if the Events are enabled
FontList Gets a collection of all available fonts' names (read-only)
FrameWork Gets FrameWork (read-only)
GlobalUserData Returns a set of custom user settings which are preserved between application sessions (read-only)
GMSManager Gets a GMS Manager object (read-only)
ID Returns the application ID (read-only)
LanguagePath Returns the path to the language-specific data files (read-only)
MainMenu Gets the main menu (read-only)
Name Returns the application name (default, read-only)
Optimization Gets or sets whether to use optimization
OutlineStyles Gets the Outline styles Collection (read-only)
PageSizes Gets the collection of all page sizes defined for the application (read-only)
Palettes Gets a collection of the currently open palettes (read-only)
PanoseMatching Gets or sets the Panose Font Matching type
Parent Gets the application to which the object belongs (read-only)
Path Gets the full path of the application directory (read-only)
PatternCanvases Gets the Pattern Canvas Collection (read-only)
PlatformVersionMajor Returns the major version of the application automation engine (read-only)
PlatformVersionMinor Returns the minor version of the application automation engine (read-only)
Printers Gets the printers (read-only)
PrintJob Gets the print job (read-only)
RecentFiles Gets the collection of all files in the Recent File list (read-only)
SessionUserData Returns a set of custom user settings which are available only during the current application session (read-only)
SetupPath Gets the full path of the main setup directory (read-only)
StartupMode Gets or sets the default application action at startup
Status Returns the application status object (read-only)
StatusBar Gets the status bar (read-only)
SymbolLibraries List of all symbol libraries visible in the Symbols docker (read-only)
UILanguage Gets the current user interface language (read-only)
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 (read-only)
UserWorkspacePath Returns the path to the user workspace (read-only)
VBE Gets the VBA editor reference (read-only)
Version Gets a verbose description of the current application version (read-only)
VersionBuild Gets the build number of the current application version (read-only)
VersionMajor Gets the major version number of the application (read-only)
VersionMinor Gets the minor version number of the application (read-only)
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 (read-only)
Workspaces Gets a collection of workspaces available in the application (read-only)

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
CorelScript Creates a Corel SCRIPT object to which you can pass Corel SCRIPT commands
CorelScriptTools Corel SCRIPT Tools
CreateBWColor Creates a BW color
CreateCMYColor Creates a CMY color
CreateCMYKColor Creates a CMYK color
CreateColor Creates a color object
CreateColorEx Creates a default color
CreateCurve Creates an instance of Curve object and optionally binds it to a document
CreateDocument Creates a new document
CreateDocumentFromTemplate Opens a document from a template
CreateDuotone Creates a new duotone information object
CreateFixedColor Creates a Fixed color
CreateGrayColor Creates a Gray color
CreateHLSColor Creates a HLS color
CreateHSBColor Creates a HSB color
CreateLabColor Creates a Lab color
CreateNodeRange Creates an instance of NodeRange object
CreateOutlineStyle Creates custom dash-dot outline pattern by specifying dash/gap lengths directly
CreatePatternCanvas Creates an instance of PatternCanvas object
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
CreateSnapPoint Creates a free Point
CreateStructExportOptions Creates an instance of StructExportOptions object
CreateStructImportOptions Creates an instance of StructImportOptions object
CreateStructPaletteOptions Creates an instance of StructPaletteOptions object
CreateStructSaveAsOptions Creates an instance of StructSaveAsOptions object
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
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
OpenCorelScriptFile Opens a Corel SCRIPT file and gets a reference to the Corel SCRIPT object
OpenDocument Opens a document
OpenDocumentAsCopy Opens a document without maintaining a link to the original document file name
Quit Closes the application to which it belongs
Refresh Updates open dockers
RemovePluginCommand Unregisters the plugin command
UnadviseEvents Unadvises application events

Events

Name Description
DocumentAfterExport
DocumentAfterPrint
DocumentAfterSave
DocumentBeforeExport
DocumentBeforePrint
DocumentBeforeSave
DocumentClose
DocumentNew
DocumentOpen
OnPluginCommand
OnUpdatePluginCommand
QueryDocumentClose
QueryDocumentExport
QueryDocumentPrint
QueryDocumentSave
QueryQuit
Quit
SelectionChange
Start
WindowActivate
WindowDeactivate

References

Personal tools