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 PHOTO-PAINT 2017
Corel PHOTO-PAINT 2018
Corel PHOTO-PAINT 2019
Corel PHOTO-PAINT 2019.2
Corel PHOTO-PAINT 2020
Corel PHOTO-PAINT 2020.1
Corel PHOTO-PAINT 2021
Corel PHOTO-PAINT 2021.5
Corel PHOTO-PAINT 2022-v24
Corel PHOTO-PAINT 2022-v24.1
Corel PHOTO-PAINT 2022-v24.2
Corel PHOTO-PAINT 2023-v24.3
Corel PHOTO-PAINT 2023-v24.5
Corel PHOTO-PAINT 2024-v25
Corel PHOTO-PAINT X7
Corel PHOTO-PAINT X7.4
Corel PHOTO-PAINT X7.6
Corel PHOTO-PAINT X8
Classes:
AIExport
Application
AppWindow
Background
BitmapImage
BMPExport
CEPSExport
CGMExport
CGMImport
Channel
Channels
Clipboard
ClipMask
Color
ColorMask
ColorMaskColor
ColorMaskColors
Colors
ColorTable
CommandBar
CommandBarMode
CommandBarModes
CommandBars
Control
Controls
CorelScript
CorelScriptFile
CorelScriptTools
DataContext
DataSourceProxy
DockHost
DockHosts
DockItem
DockItems
Document
Documents
DropShadow
DSFImport
DXFExport
DXFImport
EMFExport
ExportFilter
Floater
Frame
Frames
FrameWindow
FrameWindows
FrameWork
GEMExport
GIFExport
Grid
Guide
Guides
HPGLExport
HPGLImport
ImageList
ImportFilter
JP2Export
JPGExport
Layer
LayerGroup
LayerGroupRange
LayerRange
Layers
Mask
ObjectLayer
Palette
Palettes
PDFVBASettings
PNGExport
PrintDocuments
Printer
PrintJob
PrintLayout
PrintOptions
PrintPages
PrintPostScript
PrintPrepress
PrintSeparations
PrintSettings
PrintTrapping
Rulers
ScreenRect
SeparationPlate
SeparationPlates
StatusText
StructImportCropOptions
StructImportOptions
StructImportRasterizeOptions
StructImportResampleOptions
StructPaletteOptions
StructSaveOptions
StructWebSaveOptions
SVGExport
SystemPrinters
TGAExport
Tools
TrapLayer
TrapLayers
ViewHost
ViewHosts
ViewWindow
ViewWindows
Window
Windows
WMFExport
Workspace
Workspaces
WPGExport
WVLExport
Interfaces:
DIGlobalDocumentEvents
ICUIAutomation
ICUIBackgroundTask
ICUIControlData
ICUIDataSourceFactory
ICUIRunningBackgroundTask
ICUIRunningTask
ICUITask
ICUITaskManager
ICUIWarning
IGlobalDocument
IGlobalDocumentEvents
IImportCropHandler
IImportRasterizeHandler
IImportResampleHandler
IPaintDocumentEvents
IPDFSettingsInternal
IPrnVBAPrintDocument
IPrnVBAPrintPage
Enums:
AiVersion
BmpVersion
cdrAlignment
cdrColorType
cdrCompressionType
cdrDitherType
cdrDuotoneType
cdrFilter
cdrFittedOrientation
cdrFittedPlacement
cdrFittedQuadrant
cdrFittedVertPlacement
cdrFlipAxes
cdrHalftoneType
cdrImageMode
cdrImagePaletteType
cdrImageType
cdrImportMode
cdrLineSpacingType
cdrMergeMode
cdrPaletteID
cdrPaletteSortMethod
cdrPaletteType
cdrPatternCanvasSize
cdrPatternFillType
cdrRenderType
cdrTexturePropertyType
cdrTileOffsetType
cdrTransparencyAppliedTo
cdrTransparencyType
cdrUnit
cdrViewType
cdrWebSaveMode
cdrWindowArrangeStyle
cdrWindowState
CgmCharsetMode
CgmColorMode
CgmFallbackCode
CgmFileEncoding
CgmFormat
CgmOutputPrecision
CgmTextEncoding
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
pntAddinFilter
pntAlignType
pntBorderType
pntClipMaskMode
pntColorMaskMode
pntColorMaskType
pntCreationMode
pntDistributeType
pntDropShadowType
pntEdgeType
pntFeatherType
pntFrameBackground
pntFrameReference
pntGuideType
pntLayerType
pntLoadMode
pntMaskBrightnessModel
pntMaskMode
pntMatteType
pntMergeMode
pntSplitMode
pntToleranceMode
pntURLRegion
PrnBitmapColorMode
PrnColorMode
PrnFileMode
PrnImageTrap
PrnObjectsColorMode
PrnPageMatchingMode
PrnPageSet
PrnPaperOrientation
PrnPaperSize
PrnPDFStartup
PrnPlaceType
PrnPlateType
PrnPostScriptLevel
PrnPrintRange
PrnRegistrationStyle
PrnTrapType
SvgBmpExportType
SvgCharacterSubsetting
SvgDrawingPrecision
SvgEncoding
SvgStyling
SvgUnits
SvgVersion
TgaVersion
WiPath
WiSpeed
WpgColorMode
WpgVersion
C++/CLI
C++
C#
JS
VB
VBA
API Documentation
>
Corel PHOTO-PAINT
>
2021.5
IPaintApplication interface
The main interface for Application class
Syntax:
Interface
IPaintApplication
Properties:
Name
Description
ActiveDocument
Returns the reference to the currently active document
ActiveFrame
Returns the reference to the currently active frame
ActiveLayer
Returns the reference to the currently active layer
ActivePalette
Returns the reference to the currently active palette
ActiveWindow
Returns the reference to the currently active window
ActiveWorkspace
Returns the reference to the currently active workspace
AddonPath
Returns the full path to the application's Addons folder
Application
Returns the application to which the object belongs
AppWindow
Returns the reference to the application's main window
Clipboard
Returns the Clipboard object associated with this application
ConfigPath
Returns the full path of the 'Config' directory
Documents
Returns the collection of documents open in the application
EventsEnabled
Returns or if events are enabled
FrameWork
Returns the UI Framework object
LanguagePath
Returns the path to the language-specific data files
Name
Returns the name of the application
PaintColor
Returns or sets the default fill color for new objects
Palettes
Returns a collection of the currently open palettes
PaperColor
Returns or sets the paper color (used when clearing or erasing the image)
Parent
Returns the application to which the object belongs
Path
Returns the full path of the PHOTO-PAINT's Applications Main Directory
Printers
Returns the collection of installed printers
PrintJob
Returns the current multi-document print job settings
ProgramPath
Returns the full path to the application's Programs folder
SetupPath
Returns the full path of the main setup directory
UILanguageCode
Returns the language code of the application UI
VBE
Returns the VBE editor reference
Version
Returns a description of the current application's version
VersionBuild
Returns the build number of the current application
VersionMajor
Returns the major version number of the application
VersionMinor
Returns the minor version number of the application
Visible
Returns or sets the visibility of the application window; allows you to hide or show the application
Windows
Returns a collection of windows open in the application
Workspaces
Returns a collection of workspaces available in the application
Methods:
Name
Description
CombineChannels
Combines a set of channels into a new document
CorelScript
Creates a Corel SCRIPT object to which you can pass Corel SCRIPT commands
CorelScriptTools
Gives access to CorelSCRIPT Tools
CreateBWColor
creates a color based on the black-and-white color model, a 1-bit color mode that stores images as two solid colors - black and white - with no gradations
CreateCMYColor
Creates a color by specifying CMY color values
CreateCMYKColor
Creates a color by specifying CMYK color values
CreateColor
Creates a color object not associated with a color model
CreateColorEx
Creates a color object based on a color model
CreateDocument
Creates a new document
CreateDocumentFromClipboard
Pastes clipboard contents as a new document
CreateFixedColor
Creates a color (or Color object) from a fixed color palette
CreateGrayColor
Creates a color by specifying a value from 0 to 255 shades of the Greyscale palette
CreateHLSColor
Creates a color by specifying values by Hue, Light and Saturation values
CreateHSBColor
Creates a color by specifying Hue, Saturation and Brightness values
CreateLabColor
Creates a color by specifying LAB values
CreateRegistrationColor
Creates a color (or Color object) based on the registration color model
CreateRGBColor
Creates a color by specifying RGB color values
CreateStructImportCropOptions
Creates a StructImportCropOptions object instance
CreateStructImportOptions
Creates a StructImportOptions object instance
CreateStructImportRasterizeOptions
Creates a StructImportRasterizeOptions object instance
CreateStructImportResampleOptions
Creates a StructImportResampleOptions object instance
CreateStructPaletteOptions
Creates a StructPaletteOptions object instance
CreateStructSaveOptions
Creates a StructSaveOptions object instance
CreateStructWebSaveOptions
Creates a StructWebSaveOptions object instance
CreateYIQColor
Creates a color by specifying YIQ values (Luminance, In-Phase and Quadratic components)
OpenCorelScriptFile
Opens a Corel SCRIPT file and returns a reference to the Corel SCRIPT object
OpenDocument
Opens a document
Quit
Closes the application to which it belongs
Version Information:
Corel PHOTO-PAINT:
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