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:
CorelDRAW 2017
CorelDRAW 2018
CorelDRAW 2019
CorelDRAW 2019.2
CorelDRAW 2020
CorelDRAW 2020.1
CorelDRAW 2021
CorelDRAW 2021.5
CorelDRAW 2022-v24
CorelDRAW 2022-v24.1
CorelDRAW 2022-v24.2
CorelDRAW 2023-v24.3
CorelDRAW 2023-v24.5
CorelDRAW 2024-v25
CorelDRAW X7
CorelDRAW X7.4
CorelDRAW X7.6
CorelDRAW X8
Classes:
ActiveView
AIExport
Application
AppStatus
AppWindow
ArrowHead
ArrowHeadOptions
ArrowHeads
BBoxSnapPoint
Bitmap
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
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
ImageList
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
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
TextLines
TextParagraphs
TextRange
TextRanges
TextTabPosition
TextTabPositions
TextureFill
TextureFillProperties
TextureFillProperty
TextWords
TGAExport
ToolShape
ToolShapeAttributes
ToolState
ToolStateAttributes
TraceSettings
TransformMatrix
Transparency
TrapLayer
TrapLayers
TreeManager
TreeNode
TreeNodes
URL
UserSnapPoint
Vector
View
ViewHost
ViewHosts
Views
ViewWindow
ViewWindows
Window
Windows
WMFExport
Workspace
Workspaces
WPGExport
WVLExport
Interfaces:
IColorConversionHandler
ICUIAutomation
ICUIControlData
ICUIDataSourceFactory
IImportCropHandler
IImportResampleHandler
IVGApplicationEvents
IVGAppPlugin
IVGDocumentEvents
Enums:
AiVersion
BmpVersion
cdrAddinFilter
cdrAlignDistributeH
cdrAlignDistributeV
cdrAlignment
cdrAlignShapesTo
cdrAlignType
cdrAntiAliasingType
cdrApplicationClass
cdrApplicationID
cdrAppStartupMode
cdrBevelMode
cdrBevelType
cdrBlendMode
cdrCalloutEnding
cdrCalloutHaloJustify
cdrCalloutTextSource
cdrCloneLinkType
cdrColorType
cdrCommandCheckState
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
cdrNodeType
cdrObjectSnapPointType
cdrOLEType
cdrOnScreenCurvePenStyle
cdrOnScreenTextAlign
cdrOutlineJustification
cdrOutlineLineCaps
cdrOutlineLineJoin
cdrOutlineType
cdrOverprintState
cdrPageBackground
cdrPageOrientation
cdrPaletteID
cdrPaletteSortMethod
cdrPaletteType
cdrPaletteVersion
cdrPanoseMatchingType
cdrPatternCanvasSize
cdrPatternFillType
cdrPointType
cdrPolygonType
cdrPositionOfPointOverShape
cdrPresetPoint
cdrProjectPlane
cdrReferencePoint
cdrRenderType
cdrSegmentOffsetType
cdrSegmentType
cdrShapeChangeScope
cdrShapeEnumDirection
cdrShapeLevel
cdrShapeLinkType
cdrShapeType
cdrSpiralType
cdrSymbolType
cdrTableBorder
cdrTextAlignOrigin
cdrTextChangeCase
cdrTextCharSet
cdrTextEffect
cdrTextFrames
cdrTextIndexingType
cdrTextLanguage
cdrTextPropertySet
cdrTextTabAlignment
cdrTextType
cdrTexturePropertyType
cdrThumbnailSize
cdrTileOffsetType
cdrTools
cdrTraceBackgroundMode
cdrTraceType
cdrTransparencyAppliedTo
cdrTransparencyType
cdrTreeNodeType
cdrTriState
cdrUnit
cdrURLRegion
cdrVerticalAlignment
cdrViewType
cdrWindowArrangeStyle
cdrWindowState
cdrWrapStyle
CgmEncoding
CgmFormat
clrColorEngine
clrColorModel
clrColorPolicyAction
clrCompPrnCalibration
clrDeviceType
clrExportColorCorrection
clrImportColorCorrection
clrMonitorCalibration
clrRenderingIntent
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
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
Structures:
CurveElement
Modules:
UICategories
C++/CLI
C++
C#
VB
VBA
API Documentation
>
CorelDRAW
>
X7.6
Layer class
Represents a layer in a document
Syntax:
Class
Layer
Remarks:
The
Layer
class represents a layer in a document.
Properties:
Name
Description
Above
Returns the layer above the referenced layer
AbsoluteIndex
Returns the index of the referenced layer for the entire document, including Master Layers
Application
Returns the application to which the object belongs
Below
Returns the layer below the referenced layer
Color
Gets or sets the layer override color
Editable
Returns or sets the layer's editability state
Index
Returns the index of the referenced layer in the Layers collection for the Page only
IsDesktopLayer
Returns True if the given layer is the desktop layer
IsGridLayer
Returns True if the given layer is the grid layer
IsGuidesLayer
Returns True if the given layer is the guideline layer
IsSpecialLayer
Returns True if the given layer is a special layer (guideline, desktop, or grid)
Master
Returns or sets the layer's Master state
MasterLayer
Returns the corresponding layer from the master page
MasterProperties
Returns a Properties collecton, which lets you specify and manipulate custom data that is associated to the Master Layer
Name
Returns or sets the layer name
OverrideColor
Returns or sets the layer override color's enabled state
Page
Returns the page that this layer resides on
Parent
Returns the parent object of the layer
Printable
Returns or sets the layer's printability state
Properties
Returns a Properties collection, which lets you specify and manipulate custom data that is associated with a given layer
SelectableShapes
Returns a collection of all the selectable shapes on the layer
Shapes
Returns a collection of shapes residing on the layer
TreeNode
Returns the tree node object corresponding to the given layer
Visible
Returns or sets the layer's visibility state
Methods:
Name
Description
Activate
Sets an instance of a layer to be active
CreateAngularDimension
Creates an angular dimension
CreateArtisticText
Creates artistic text on a layer
CreateArtisticTextWide
Creates Unicode artistic text
CreateBSpline
Creates a b-spline
CreateConnector
Creates a connector on a layer
CreateConnectorEx
Creates a connector of a given type
CreateCurve
Creates a curve shape from a specified Curve object
CreateCurveSegment
Creates a curve segment (curve object) on a layer
CreateCurveSegment2
Creates a curve segment by using control point coordinates
CreateCustomShape
Creates a custom shape
CreateEllipse
Creates an ellipse by specifying coordinates
CreateEllipse2
Creates an ellipse by specifying its center and radius
CreateEllipseRect
Creates an ellipse shape by using the rectangular area specified
CreateFreeConnector
Creates a Connector object not attached or linked to a shape
CreateGridBoxes
Creates a group of rectangles representing a custom grid on a layer
CreateGuide
Creates a guide by using two points
CreateGuideAngle
Creates a guide by using one point and an angle
CreateLinearDimension
Creates a linear dimension
CreateLineSegment
Creates a line segment (curve object) on a layer
CreateOLEObject
Creates a new OLE object
CreateOLEObjectFromFile
Creates a new OLE object from file
CreateParagraphText
Creates paragraph text on a layer
CreateParagraphTextWide
Creates Unicode paragraph text
CreatePolygon
Creates a polygon by specifying coordinates
CreatePolygon2
Creates a symmetrical polygon by using a center point and radius
CreateRectangle
Creates a rectangle by specifying coordinates
CreateRectangle2
Creates a rectangle by specifying its bottom corner, width, and height
CreateRectangleRect
Creates a rectangle shape by using the rectangular area specified
CreateRightAngleConnector
Creates a right-angle connector
CreateSpiral
Creates a spiral on a layer
CreateSymbol
Creates an instance of a symbol
CreateToolShape
Creates an addon tool shape
CustomCommand
Executes a layer-specific command provided by a component
Delete
Deletes the layer
FindShape
Finds a single shape by its name, type or Static ID
FindShapes
Returns a collection of shapes (ShapeRange) based on search criteria
Import
Imports a supported non-native file from disk onto a layer
ImportEx
Imports a supported non-native file format onto a layer and returns an ImportFilter object
MoveAbove
Places a layer above another layer
MoveBelow
Places a layer below another layer
Paste
Pastes the contents of the Clipboard
PasteEx
Pastes object(s) from the Clipboard onto the layer and returns the range of objects pasted; allows to specify additional options
PasteSpecial
Pastes the clipboard contents in a specified format
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