CorelDRAW Community
Site
Search
User
Site
Search
User
Developer Area
Forums
Wikis
API References
Tags
More
Cancel
New
Developer Area requires membership for participation - click to join
Applications:
Corel DESIGNER
Corel PHOTO-PAINT
CorelDRAW
Versions:
Corel DESIGNER 20.1
Corel DESIGNER 2017.1
Corel DESIGNER 2019.2
Corel DESIGNER 2020.1
Corel DESIGNER 2021.5
Corel DESIGNER 2022-v24
Corel DESIGNER 2022-v24.1
Corel DESIGNER 2022-v24.2
Corel DESIGNER 2023-v24.3
Corel DESIGNER 2023-v24.5
Corel DESIGNER 2024-v25
Corel DESIGNER X7
Classes:
ActiveView
AIExport
Application
AppStatus
AppWindow
ArrowHead
ArrowHeadOptions
ArrowHeads
BBoxSnapPoint
Bitmap
BitmapImage
BMPExport
BSpline
BSplineControlPoint
BSplineControlPoints
CalloutShape
CEPSExport
CGMExport
CGMImport
Clipboard
CloneLink
Color
ColorContext
ColorManagementPolicy
ColorManager
ColorProfile
ColorProfiles
Colors
CommandBar
CommandBarMode
CommandBarModes
CommandBars
Component
Components
Connector
Control
Controls
CorelScriptTools
CrossPoint
CrossPoints
Curve
CustomEffect
CustomShape
DataContext
DataField
DataFields
DataItem
DataItems
DataSourceProxy
Dimension
DimensionAngular
DimensionLinear
DockHost
DockHosts
DockItem
DockItems
Document
Documents
DSFImport
Duotone
DuotoneInk
DuotoneOverprint
DXFExport
DXFImport
EdgeSnapPoint
Effect
EffectBevel
EffectBlend
EffectContour
EffectControlPath
EffectCustomDistortion
EffectDistortion
EffectDropShadow
EffectEnvelope
EffectExtrude
EffectInnerShadow
EffectLens
EffectPerspective
EffectPushPullDistortion
Effects
EffectTextOnPath
EffectTwisterDistortion
EffectZipperDistortion
Ellipse
EMFExport
EPS
ExportFilter
ExtrudeVanishingPoint
Fill
FillMetadata
FontList
FountainColor
FountainColors
FountainFill
FrameWindow
FrameWindows
FrameWork
GEMExport
GIFExport
GlobalMacroStorage
GMSMacro
GMSMacros
GMSManager
GMSProject
GMSProjects
Grid
Guide
HatchFill
HatchFills
HatchLibraries
HatchLibrary
HatchPattern
HatchPatterns
HPGLExport
HPGLImport
Image
ImageList
ImageTile
ImageTiles
ImportFilter
JP2Export
JPGExport
Layer
Layers
LocalizableString
MathUtils
Metadata
Node
NodeRange
Nodes
ObjectSnapPoint
OLE
OnScreenCurve
OnScreenHandle
OnScreenText
Outline
OutlineStyle
OutlineStyles
Page
Pages
PageSize
PageSizes
Palette
PaletteManager
Palettes
PatternCanvas
PatternCanvases
PatternFill
PDFVBASettings
PNGExport
Point
PointRange
Polygon
PostScriptFill
PowerClip
PrintDocuments
Printer
PrintJob
PrintLayout
PrintOptions
PrintPages
PrintPostScript
PrintPrepress
PrintSeparations
PrintSettings
PrintTrapping
ProofColorSettings
Properties
PSScreenOptions
RecentFile
RecentFiles
Rect
Rectangle
Rulers
ScreenRect
Segment
SegmentRange
Segments
SelectionInfo
SeparationPlate
SeparationPlates
Shape
ShapeRange
Shapes
SnapPoint
SnapPointRange
SnapPoints
Spread
Spreads
StatusText
StructAlignProperties
StructColorConversionOptions
StructCreateOptions
StructExportOptions
StructFontProperties
StructHyphenationSettings
StructImportCropOptions
StructImportOptions
StructImportResampleOptions
StructOpenOptions
StructPaletteOptions
StructPasteOptions
StructSaveAsOptions
StructSpaceProperties
Style
StyleCharacter
StyleFill
StyleFrame
StyleOutline
StyleParagraph
Styles
StyleSheet
StyleTransparency
SubPath
SubPaths
SVGExport
Symbol
SymbolDefinition
SymbolDefinitions
SymbolLibraries
SymbolLibrary
SystemPrinters
TableBorders
TableCell
TableCellRange
TableCells
TableColumn
TableColumns
TableRow
TableRows
TableShape
Text
TextCharacters
TextColumns
TextFrame
TextFrames
TextIndentLevelStyle
TextIndentLevelStyles
TextLines
TextParagraphs
TextRange
TextRanges
TextTabPosition
TextTabPositions
TextureFill
TextureFillProperties
TextureFillProperty
TextVariableAxes
TextVariableAxis
TextWords
TGAExport
ToolShape
ToolShapeAttributes
ToolState
ToolStateAttributes
TraceSettings
TransformMatrix
Transparency
TrapLayer
TrapLayers
TreeManager
TreeNode
TreeNodes
URL
UserSnapPoint
Vector
View
ViewHost
ViewHosts
Views
ViewWindow
ViewWindows
WEBPExport
Window
Windows
WMFExport
Workspace
Workspaces
WPGExport
Interfaces:
IColorConversionHandler
ICUIAutomation
ICUIBackgroundTask
ICUIControlData
ICUIDataSourceFactory
ICUIRunningBackgroundTask
ICUIRunningTask
ICUITask
ICUITaskManager
ICUIWarning
IFilterSettings
IGIFFilterSettings
IImportCropHandler
IImportResampleHandler
IJPGFilterSettings
IPDFSettingsInternal
IPerspectiveGroupProperties
IPerspectiveGroupShape
IPNGFilterSettings
IQuickExport
IQuickExportItem
IQuickExportSettings
IVGApplicationEvents
IVGAppPlugin
IVGComment
IVGCommentAnnotation
IVGCommentAuthor
IVGComments
IVGCommentTarget
IVGCommentThread
IVGCommentThreads
IVGDocumentEvents
IVGDocumentMarkup
IVGPageMarkup
IWEBPFilterSettings
Enums:
AiVersion
BmpVersion
cdrAddinFilter
cdrAlignDistributeH
cdrAlignDistributeV
cdrAlignment
cdrAlignShapesTo
cdrAlignType
cdrAntiAliasingType
cdrApplicationClass
cdrApplicationID
cdrAppStartupMode
cdrAuthorAuthentication
cdrBevelMode
cdrBevelType
cdrBlendMode
cdrCalloutEnding
cdrCalloutHaloJustify
cdrCalloutTextSource
cdrCGMRegionType
cdrCloneLinkType
cdrColorMode
cdrColorSettings
cdrColorType
cdrCommandCheckState
cdrCommentAnnotationType
cdrCommentStatus
cdrCommentType
cdrCompareCondition
cdrCompareType
cdrCompressionType
cdrConnectorType
cdrContourCornerType
cdrContourDirection
cdrContourEndCapType
cdrCopyProperties
cdrCornerType
cdrCursorShape
cdrCurveElementFlags
cdrCurveElementType
cdrDataFormatType
cdrDataType
cdrDimensionAngularUnits
cdrDimensionLinearUnits
cdrDimensionPlacement
cdrDimensionStyle
cdrDimensionSymbol
cdrDimensionType
cdrDirection
cdrDistanceMode
cdrDistortionType
cdrDistributeArea
cdrDistributeType
cdrDitherType
cdrDocLayout
cdrDropShadowType
cdrDuotoneType
cdrEdgeType
cdrEffectType
cdrEllipseType
cdrEnvelopeCopyMode
cdrEnvelopeMode
cdrExportRange
cdrExtrudeLightPosition
cdrExtrudeShading
cdrExtrudeType
cdrExtrudeVPType
cdrFeatherType
cdrFileVersion
cdrFillMode
cdrFillStyleType
cdrFillType
cdrFilter
cdrFittedOrientation
cdrFittedPlacement
cdrFittedQuadrant
cdrFittedVertPlacement
cdrFlipAxes
cdrFontCase
cdrFontLine
cdrFontPosition
cdrFontStyle
cdrFountainFillBlendType
cdrFountainFillSpreadMethod
cdrFountainFillType
cdrGridType
cdrGuideType
cdrHalftoneType
cdrImageMode
cdrImagePaletteType
cdrImageType
cdrImportMode
cdrImportTableOutline
cdrImportTextFormatting
cdrLensType
cdrLinearDimensionType
cdrLineSpacingType
cdrMergeMode
cdrMultipageLayout
cdrNodeType
cdrObjectSnapPointType
cdrOLEType
cdrOnScreenCurvePenStyle
cdrOnScreenTextAlign
cdrOutlineDashAdjust
cdrOutlineJustification
cdrOutlineLineCaps
cdrOutlineLineJoin
cdrOutlineType
cdrOverprintState
cdrPageBackground
cdrPageOrientation
cdrPaletteID
cdrPaletteSortMethod
cdrPaletteType
cdrPaletteVersion
cdrPanoseMatchingType
cdrPatternCanvasSize
cdrPatternFillType
cdrPerspPlane
cdrPerspPreset
cdrPointType
cdrPolygonType
cdrPositionOfPointOverShape
cdrPresetPoint
cdrProjectPlane
cdrReferencePoint
cdrRenderType
cdrSegmentOffsetType
cdrSegmentType
cdrShapeChangeScope
cdrShapeEnumDirection
cdrShapeLevel
cdrShapeLinkType
cdrShapeType
cdrSpiralType
cdrSymbolType
cdrTableBorder
cdrTextAlignOrigin
cdrTextChangeCase
cdrTextCharSet
cdrTextEffect
cdrTextFrames
cdrTextIndentLevelStyle
cdrTextIndexingType
cdrTextLanguage
cdrTextPropertySet
cdrTextTabAlignment
cdrTextType
cdrTexturePropertyType
cdrThumbnailSize
cdrTileOffsetType
cdrTools
cdrTraceBackgroundMode
cdrTraceType
cdrTransparencyAppliedTo
cdrTransparencyType
cdrTreeNodeType
cdrTriState
cdrUnit
cdrURLRegion
cdrVerticalAlignment
cdrViewType
cdrWeldFlags
cdrWeldMethod
cdrWindowArrangeStyle
cdrWindowState
cdrWrapStyle
CgmCharsetMode
CgmColorMode
CgmFallbackCode
CgmFileEncoding
CgmFormat
CgmOutputPrecision
CgmTextEncoding
clrColorEngine
clrColorModel
clrColorPolicyAction
clrCompPrnCalibration
clrDeviceType
clrExportColorCorrection
clrImportColorCorrection
clrMonitorCalibration
clrRenderingIntent
cuiBarPosition
cuiBarProtection
cuiBarType
cuiDockHostOrientation
cuiDockItemType
cuiDockOperation
cuiMessageBoxFlags
cuiTaskPriority
cuiWindowState
DsfLinestyle
DxfBitmapType
DxfProjections
DxfScale
DxfUnits
DxfVersion
EpsBBoxType
EpsBitmapType
EpsColorProfile
EpsImageHeader
EpsObjectsColorType
EpsPSLevel
EpsSpotToColorType
EpsTIFFHeaderType
GifTransparency
HpglFillType
Jp2Progression
Jp2Subformat
pdfBitmapCompressionType
pdfColorMode
pdfColorProfile
pdfDisplayOnStart
pdfEditPermissions
pdfEncodingType
pdfEncryptionType
pdfEPSAs
pdfExportRange
pdfPrintPermissions
pdfSpotType
pdfTextExportMode
pdfVersion
pltOriginType
PngTransparency
PrnBitmapColorMode
PrnColorMode
PrnFileMode
PrnImageTrap
PrnObjectsColorMode
PrnPageMatchingMode
PrnPageSet
PrnPaperOrientation
PrnPaperSize
PrnPDFStartup
PrnPlaceType
PrnPlateType
PrnPostScriptLevel
PrnPrintRange
PrnRegistrationStyle
PrnTrapType
SvgBmpExportType
SvgCharacterSubsetting
SvgDrawingPrecision
SvgEncoding
SvgStyling
SvgUnits
SvgVersion
TgaVersion
WpgColorMode
WpgVersion
Structures:
CurveElement
Modules:
UICategories
C++/CLI
C++
C#
JS
VB
VBA
API Documentation
>
Corel DESIGNER
>
2022-v24.2
Application class
Defines properties of the main CorelDRAW or Corel DESIGNER application
Syntax:
Class
Application
Remarks:
The
Application
object defines properties of the main Corel DESIGNER application. It is the top-level object in the Corel DESIGNER hierarchy of objects, and you can access all other features of the application through its functions, methods, and properties.
It is not necessary to explicitly specify an
Application
object; it is always available in VBA, and its properties and methods are global.
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
DataContext
Returns the top-level application data context
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
Returns the FrameWork class instance representing the application UI framework subsystem
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
CreateBitmapImage
Creates an instance of BitmapImage object and optionally reads the image data from ImageData which can be a file name, raw image data as a byte-array, or a image data stream
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
CreateDataSourceFactory
Creates a wrapper around datasource factory object. The returned object implements ICUIDataSourceFactory which redirects calls to its methods to generic dispatch object DataSourceFactoryObject
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
CreateImageList
Creates an imstance of image list object used in the UI data binding framework to supply images/icons for UI controls
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
CreateScreenRect
Creates an instance of ScreenRect object
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
CreateStatusText
Creates an instance of StatusText object
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
LoadLocalizedString
Loads a string resource from a Guid
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
RegisterDataSource
Registers a datasource class factory
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
UnregisterDataSource
Unregisters a datasource class factory
UnregisterToolState
Unregisters a tool state
Events:
Name
Description
DocumentAfterExport
Invoked after a document is exported
DocumentAfterPrint
Invoked after a document is printed
DocumentAfterSave
Invoked after a document is saved
DocumentBeforeExport
Invoked before a document is exported
DocumentBeforePrint
Invoked before a document is printed
DocumentBeforeSave
Invoked before a document is saved
DocumentClose
Invoked when a document is closed
DocumentNew
Invoked when a new document is created
DocumentOpen
Invoked when a document is opened
OnApplicationEvent
Invoked on application event
OnPluginCommand
OnUpdatePluginCommand
QueryDocumentClose
Invoked when the user responds to a request to close a document
QueryDocumentExport
Invoked when the user responds to a request to export a document
QueryDocumentPrint
Invoked when the user responds to a request to print a document
QueryDocumentSave
Invoked when the user responds to a request to save a document
QueryQuit
Invoked when the user responds to a request to quit
Quit
Invoked when quitting application
SelectionChange
Invoked upon selection change
Start
Invoked when starting application
WindowActivate
Invoked when a window is activated
WindowDeactivate
Invoked when a window is deactivated
Version Information:
CorelDRAW:
X7.4
,
X7
,
X7.6
,
X8
,
2017
,
2018
,
2019
,
2019.2
,
2020
,
2021
,
2020.1
,
2021.5
,
2022-v24
,
2022-v24.1
,
2022-v24.2
,
2023-v24.3
,
2023-v24.5
,
2024-v25
Corel DESIGNER:
X7
,
2017.1
,
20.1
,
2019.2
,
2020.1
,
2021.5
,
2022-v24
,
2022-v24.1
,
2022-v24.2
,
2023-v24.3
,
2023-v24.5
,
2024-v25