CorelDRAW Community
CorelDRAW Community
  • Site
  • User
  • Site
  • Search
  • User
Developer Area
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 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 > 2018
LayerRange class
Defines the characteristics of a range of Layer objects
Syntax:
Class LayerRange
Remarks:
The LayerRange class defines the characteristics of a range of Layer objects.
Properties:
Name Description
_NewEnum Returns an enumerator that iterates through a collection
Application Returns the application to which the object belongs
Count Returns the number of layers in the layer range
Item Returns a reference to the specified LayerRange, in base 1
Parent Returns the parent document object
PositionX Returns or sets the horizontal position of the center of the layer range
PositionY Returns or sets the vertical position of the center of the layer range
SizeHeight Returns the height of the layer range
SizeWidth Returns the width of the layer range
Methods:
Name Description
Add Adds a layer to the layer range
AddClipMask Adds a clip mask object to the layer range
AddRange Adds a layer range to an existing layer range
AddToSelection Adds the layer range from the current selection
AffineDistort Distorts the layer range
AlignToDocument Sets the alignment of the layer range, according to the alignment type in the document
AlignToDocumentCenter Sets the alignment of the layer range to the center of the document
AlignToGrid Sets the alignment of the layer range to the grid
AlignToLayer Sets the alignment of the layer range to a layer
AlignToLayerRange Sets the alignment of the layer range to another range of layers
AlignToPoint Sets the alignment of the layer range to a specified point
Combine Combines the layers of the layer range with an object
Copy Copies the layer range
CreateMask Creates a mask on the layer range
CreatePalette Creates a new color palette from the colors used in the layer range
CreateSelection Creates a selection from the layer range
CropToMask Sets whether to crop a layer's image, in the layer range around a mask
Cut Cuts the layer range
Defringe Defringes the edges of the layers in the layer range
Delete Deletes the layer range
Distort Distorts the shape of the layer range
Distribute Distributes the layers contained in the layer range
DistributeSpace Distributes the space of the layers contained in the layer range
Duplicate Duplicates the layer range
Feather Feathers the edges of the layer range
Flip Flips the layer range
GetPosition Returns the center point of the layer range
GetSize Returns the size of the layer range
Group Groups the layer range
GroupEx Groups the layer range and returns the newly-created group
Merge Merges the layer range with the background
Move Moves the layer range to a specified distance from its original location
OrderBackOf Sets the stacking order of the layer range by moving it to the back of a specified layer
OrderBackOne Sets the stacking order of the layer range by moving it back one in the stacking order
OrderForwardOne Sets the stacking order of the layer range by moving it forward one in the stacking order
OrderFrontOf Sets the stacking order of the layer range by moving it to the front of a specified layer in the stacking order
OrderReverse Reverses the order of the layer range
OrderToBack Sets the stacking order of the layer range by moving it to the back of the stacking order
OrderToFront Sets the stacking order of the layer range by moving it to the front of the stacking order
Remove Removes a layer from the layer range
RemoveAll Removes all layers from the layer range
RemoveFromSelection Removes the layer range from the current selection
RemoveMatte Removes a matte from the layer range
Rotate Rotates the layer range by a specified angle around a rotation point
SetMergeMode Sets the merge mode in the layer range
SetOpacity Sets the level of opacity in the layer range
SetOrder Sets the order of the layers in the layer range
SetPosition Sets the center point of the layer range
SetSize Sets the size of the layer range
Skew Skews the layer range
Stretch Stretches the layer range
Threshold Sets the edges of mask selections or objects by removing the smooth transition between a selection, or the layer range, and the underlying image
UngroupAll UnGroups all of the layers in the layer range
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

© Corel Corporation. All rights reserved. The content herein is in the form of a personal web log ("Blog") or forum posting. As such, the views expressed in this site are those of the participants and do not necessarily reflect the views of Corel Corporation, or its affiliates and their respective officers, directors, employees and agents. Terms of Use / Privacy​ ​/ ​Cookies / Terms and Conditions / User Guidelines.