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
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#
VB
VBA
API Documentation
>
Corel PHOTO-PAINT
>
2017
>
CorelScript
>
ICorelScript
CorelScript.EffectAlchemy method
Syntax:
Sub
EffectAlchemy
(
ByVal
FileName
As
String
,
ByVal
Layer
As
Long
,
ByVal
Density
As
Long
,
ByVal
Rand
As
Long
,
ByVal
HPosV
As
Long
,
ByVal
VPosV
As
Long
,
ByVal
BrushClr
As
Boolean
,
ByVal
BackClr
As
Boolean
,
ByVal
ClrModel
As
Long
,
ByVal
ClrP1
As
Long
,
ByVal
ClrP2
As
Long
,
ByVal
ClrP3
As
Long
,
ByVal
ClrP4
As
Long
,
ByVal
ClrMode2
As
Long
,
ByVal
ClrP5
As
Long
,
ByVal
ClrP6
As
Long
,
ByVal
ClrP7
As
Long
,
ByVal
ClrP8
As
Long
,
ByVal
HueV
As
Long
,
ByVal
SatV
As
Long
,
ByVal
BrtV
As
Long
,
ByVal
BrushSize
As
Long
,
ByVal
Size1
As
Long
,
ByVal
Size2
As
Long
,
ByVal
SizeV
As
Long
,
ByVal
BrushAngle
As
Long
,
ByVal
Angle1
As
Long
,
ByVal
Angle2
As
Long
,
ByVal
AngleV
As
Long
,
ByVal
BrushTrans
As
Long
,
ByVal
Trans1
As
Long
,
ByVal
Trans2
As
Long
,
ByVal
TransV
As
Long
,
ByVal
Dx
As
Double
,
ByVal
Dy
As
Double
)
Parameters:
Name
Type
Description
FileName
String
Specifies the path and name of the source file
Layer
Long
Specifies the layering
Density
Long
Specifies the density
Rand
Long
Specifies the randomization
HPosV
Long
Specifies the horizonatl adjustment
VPosV
Long
Specifies the vertical adjustment
BrushClr
Boolean
Specifies the brush color
BackClr
Boolean
Specifies the background color
ClrModel
Long
Specifies the first color mode
ClrP1
Long
Specifies the first color component of
ClrModel
ClrP2
Long
Specifies the second color component of
ClrModel
ClrP3
Long
Specifies the third color component of
ClrModel
ClrP4
Long
Specifies the fourth color component of
ClrModel
ClrMode2
Long
Specifies the second color mode
ClrP5
Long
Specifies the first color component of
ClrMode2
ClrP6
Long
Specifies the second color component of
ClrMode2
ClrP7
Long
Specifies the third color component of
ClrMode2
ClrP8
Long
Specifies the fourth color component of
ClrMode2
HueV
Long
Specifies the hue
SatV
Long
Specifies the saturation
BrtV
Long
Specifies the brightness
BrushSize
Long
Specifies the brush size
Size1
Long
Specifies the first size
Size2
Long
Specifies the second size
SizeV
Long
Specifies the size variation
BrushAngle
Long
Specifies the brush angle
Angle1
Long
Specifies the first angle
Angle2
Long
Specifies the second angle
AngleV
Long
Specifies the angle variation
BrushTrans
Long
Specifies the brush transparency
Trans1
Long
Specifies the first transparency
Trans2
Long
Specifies the second transparency
TransV
Long
Specifies the transparency variation
Dx
Double
Specifies the horizontal distance to move.
Delta
refers to a limited incremental value in a variable.
Dy
Double
Specifies the vertical distance to move.
Delta
refers to a limited incremental value in a variable.
Remarks:
The
EffectAlchemy
method applies the
Alchemy
effect to an image, transforming the image into an artistic-media painting by applying brushstrokes.
Version Information:
Corel PHOTO-PAINT:
X7.4
,
X7
,
X7.6
,
X8
,
2017
,
2018