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
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
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
ICUIControlData
ICUIDataSourceFactory
IGlobalDocument
IGlobalDocumentEvents
IImportCropHandler
IImportRasterizeHandler
IImportResampleHandler
IPaintDocumentEvents
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
CgmEncoding
CgmFormat
cuiBarPosition
cuiBarProtection
cuiBarType
cuiDockHostOrientation
cuiDockItemType
cuiDockOperation
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#
VB
VBA
API Documentation
>
Corel PHOTO-PAINT
>
X7.4
IPaintColor interface
The main interface for Color class
Syntax:
Interface
IPaintColor
Properties:
Name
Description
Application
Returns the application to which the object belongs
BW
Returns or sets Black-and-White state
CMYCyan
Returns or sets the CMY Cyan color value
CMYKBlack
Returns or sets the CMYK Black color value
CMYKCyan
Returns or sets the CMYK Cyan color value
CMYKMagenta
Returns or sets the CMYK Magenta color value
CMYKYellow
Returns or sets the CMYK Yellow color value
CMYMagenta
Returns or sets the CMY Magenta color value
CMYYellow
Returns or sets the CMY Yellow color value
Gray
Returns or sets the Gray value
HLSHue
Returns or sets the HLS Hue value
HLSLightness
Returns or sets the HLS Lightness value
HLSSaturation
Returns or sets the HLS Saturation value
HSBBrightness
Returns or sets the HSB Brightness value
HSBHue
Returns or sets the HSB Hue value
HSBSaturation
Returns or sets the HSB Saturation value
LabComponentA
Returns or sets the LAB A color value
LabComponentB
Returns or sets the LAB B color value
LabLuminance
Returns or sets the LAB L color value
Name
Returns the color name
PaletteID
Returns the Fixed Palette Color's ID
PaletteIndex
Returns or sets the Fixed Palette Color's Index
Parent
Returns the parent of which this object is a child
RGBBlue
Returns or sets the RGB Blue color value
RGBGreen
Returns or sets the RGB Green color value
RGBRed
Returns or sets the RGB Red color value
Tint
Returns or sets the Fixed Palette Color's Tint
Type
Returns the color type
YIQChromaI
Returns or sets the YIQ I color value
YIQChromaQ
Returns or sets the YIQ Q color value
YIQLuminanceY
Returns or sets the YIQ Y color value
Methods:
Name
Description
BlendWith
Mixes the color with the given color using the specified ratio
BWAssign
Assigns the Black-and-White color model; accepts only a boolean
CMYAssign
Assigns the CMY color model
CMYKAssign
Assigns the CMYK color model
ConvertToBW
Converts the color model to Black and White
ConvertToCMY
Converts the color model to CMY
ConvertToCMYK
Converts the color model to CMYK
ConvertToFixed
Converts the color model to a color in the given Fixed Palette
ConvertToGray
Converts the color model to Grayscale
ConvertToHLS
Converts the color model to HLS
ConvertToHSB
Converts the color model to HSB
ConvertToLab
Converts the color model to LAB
ConvertToRGB
Converts the color mode to RGB
ConvertToYIQ
Converts the color model to YIQ
CopyAssign
Copies color model assignment
CorelScriptAssign
Assigns a color object based on Corel SCRIPT color specification values
CorelScriptGetComponent
Returns Corel SCRIPT values from a color object for use in Corel SCRIPT
FixedAssign
Assigns a Fixed Palette Color
GrayAssign
Assigns the Grayscale color model
HLSAssign
Assigns the HLS color model
HSBAssign
Assigns the HSB color model
IsSame
Returns True if the two colors are of the same color model, with equal color values
LabAssign
Assigns the LAB color model
RegistrationAssign
Assigns the Registration color model
RGBAssign
Assigns the RGB color model
SetName
Assigns a name to an unnamed color
UserAssign
Brings up the Color dialog box to allow the user to assign a color
UserAssignEx
Brings up the Color dialog to allow the user to assign a color
YIQAssign
Assigns the YIQ color model
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