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:
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 X7
CorelDRAW X7.4
CorelDRAW X7.6
CorelDRAW X8
Classes:
ActiveView
AIExport
Application
AppStatus
AppWindow
ArrowHead
ArrowHeadOptions
ArrowHeads
BBoxSnapPoint
Bitmap
BitmapImage
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
EffectInnerShadow
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
Image
ImageList
ImageTile
ImageTiles
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
StatusText
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
TextIndentLevelStyle
TextIndentLevelStyles
TextLines
TextParagraphs
TextRange
TextRanges
TextTabPosition
TextTabPositions
TextureFill
TextureFillProperties
TextureFillProperty
TextVariableAxes
TextVariableAxis
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
Interfaces:
IColorConversionHandler
ICUIAutomation
ICUIBackgroundTask
ICUIControlData
ICUIDataSourceFactory
ICUIRunningBackgroundTask
ICUIRunningTask
ICUITask
ICUITaskManager
ICUIWarning
IFilterSettings
IGIFFilterSettings
IImportCropHandler
IImportResampleHandler
IJPGFilterSettings
IPDFSettingsInternal
IPerspectiveGroupProperties
IPerspectiveGroupShape
IPNGFilterSettings
IQuickExport
IQuickExportItem
IQuickExportSettings
IVGApplicationEvents
IVGAppPlugin
IVGComment
IVGCommentAnnotation
IVGCommentAuthor
IVGComments
IVGCommentTarget
IVGCommentThread
IVGCommentThreads
IVGDocumentEvents
IVGDocumentMarkup
IVGPageMarkup
Enums:
AiVersion
BmpVersion
cdrAddinFilter
cdrAlignDistributeH
cdrAlignDistributeV
cdrAlignment
cdrAlignShapesTo
cdrAlignType
cdrAntiAliasingType
cdrApplicationClass
cdrApplicationID
cdrAppStartupMode
cdrAuthorAuthentication
cdrBevelMode
cdrBevelType
cdrBlendMode
cdrCalloutEnding
cdrCalloutHaloJustify
cdrCalloutTextSource
cdrCloneLinkType
cdrColorMode
cdrColorSettings
cdrColorType
cdrCommandCheckState
cdrCommentAnnotationType
cdrCommentStatus
cdrCommentType
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
cdrMultipageLayout
cdrNodeType
cdrObjectSnapPointType
cdrOLEType
cdrOnScreenCurvePenStyle
cdrOnScreenTextAlign
cdrOutlineDashAdjust
cdrOutlineJustification
cdrOutlineLineCaps
cdrOutlineLineJoin
cdrOutlineType
cdrOverprintState
cdrPageBackground
cdrPageOrientation
cdrPaletteID
cdrPaletteSortMethod
cdrPaletteType
cdrPaletteVersion
cdrPanoseMatchingType
cdrPatternCanvasSize
cdrPatternFillType
cdrPerspPlane
cdrPerspPreset
cdrPointType
cdrPolygonType
cdrPositionOfPointOverShape
cdrPresetPoint
cdrProjectPlane
cdrReferencePoint
cdrRenderType
cdrSegmentOffsetType
cdrSegmentType
cdrShapeChangeScope
cdrShapeEnumDirection
cdrShapeLevel
cdrShapeLinkType
cdrShapeType
cdrSpiralType
cdrSymbolType
cdrTableBorder
cdrTextAlignOrigin
cdrTextChangeCase
cdrTextCharSet
cdrTextEffect
cdrTextFrames
cdrTextIndentLevelStyle
cdrTextIndexingType
cdrTextLanguage
cdrTextPropertySet
cdrTextTabAlignment
cdrTextType
cdrTexturePropertyType
cdrThumbnailSize
cdrTileOffsetType
cdrTools
cdrTraceBackgroundMode
cdrTraceType
cdrTransparencyAppliedTo
cdrTransparencyType
cdrTreeNodeType
cdrTriState
cdrUnit
cdrURLRegion
cdrVerticalAlignment
cdrViewType
cdrWeldFlags
cdrWeldMethod
cdrWindowArrangeStyle
cdrWindowState
cdrWrapStyle
CgmCharsetMode
CgmColorMode
CgmFallbackCode
CgmFileEncoding
CgmFormat
CgmOutputPrecision
CgmTextEncoding
clrColorEngine
clrColorModel
clrColorPolicyAction
clrCompPrnCalibration
clrDeviceType
clrExportColorCorrection
clrImportColorCorrection
clrMonitorCalibration
clrRenderingIntent
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
PrnBitmapColorMode
PrnColorMode
PrnFileMode
PrnImageTrap
PrnObjectsColorMode
PrnPageMatchingMode
PrnPageSet
PrnPaperOrientation
PrnPaperSize
PrnPDFStartup
PrnPlaceType
PrnPlateType
PrnPostScriptLevel
PrnPrintRange
PrnRegistrationStyle
PrnTrapType
SvgBmpExportType
SvgCharacterSubsetting
SvgDrawingPrecision
SvgEncoding
SvgStyling
SvgUnits
SvgVersion
TgaVersion
WpgColorMode
WpgVersion
Structures:
CurveElement
Modules:
UICategories
  • C++/CLI
  • C++
  • C#
  • JS
  • VB
  • VBA
API Documentation > CorelDRAW > 2022-v24
SubPath class
Represents the settings for a subpath in a curve
Syntax:
class VGCore::SubPath;
Remarks:
The Subpath class represents the settings for a subpath in a curve.
Properties:
Name Description
Application Gets the application to which the segment collection belongs
Area Returns the area of a closed path
BoundingBox Returns the bounding rectangle around the subpath
Closed Gets or sets whether the subpath is open or closed
EndNode Gets the end node
FirstSegment Gets the first segment of the subpath
Index Gets the index of the subpath within its curve
IsClockwise Returns True if the path direction is predominantly clockwise
LastSegment Gets the last segment of the subpath
Length Gets the length of the subpath (in document's units)
Nodes Gets the collection of nodes within the subpath
Parent Gets the subpath collection parent
PositionX Gets or sets the X position of the subpath's head
PositionY Gets or sets the Y position of the subpath's head
Segments Gets the collection of segments within the subpath
SizeHeight Gets the height of the whole subpath (in document's units)
SizeWidth Gets the width of the whole subpath (in document's units)
StartNode Gets the start node
Methods:
Name Description
AddNodeAt Inserts a node on the segment
AppendCurveSegment Appends a new curve segment to this subpath
AppendCurveSegment2 Appends a new curve segment to this subpath
AppendLineSegment Appends a new line segment to this subpath
BreakApartAt Breaks this segment into two unconnected segments
Delete Erases the whole subpath
EqualDivide Divides a subpath equally
Extract Extracts the subpath into a new separate curve
FindClosestSegment Finds a segment closest to the specified point
FindNodeAtPoint Finds a node along the path at the specified point
FindSegmentAtPoint Finds a segment along the path at the specified point
FindSegmentOffset Finds Segment Offset
GetBoundingBox Gets the bounding rectangle around the subpath
GetCopy Returns a copy of the current subpath as a separate curve
GetCurvatureAt Gets the Curve's Curvature at the current subpath
GetCurveInfo Retrieves low-level curve information
GetCurveSpeedAt Gets the Curve's Speed at the current subpath
GetEvenlySpacedPoints Returns an array of points that approximately follow this array and are evenly spaced along the curve
GetIntersections Finds the intersection point(s) with another subpath
GetPerpendicularAt Finds the perpendicular line to a point on the segment
GetPerpendicularVectorAt Finds the perpendicular vector to a point on the subpath
GetPointAt Gets the point located on the subpath
GetPointPositionAt Gets the coordinates of a point located on the subpath
GetPolyline Returns curve consisting of line segments approximating the current subpath
GetPosition Gets the horizontal and vertical position of the subpath's head on the page
GetSegmentAt Gets the segment at a given position
GetTangentAt Finds the tangent line to a point on the segment
GetTangentVectorAt Finds the tangent vector to a point on the subpath
IsOnSubPath Finds if the given coordinates are 'inside', 'outside' or on the margins of the subpath
IsPointInside Determines if the specified point lies inside a closed path
IsRectOnEdge Determines if the specified rectangle intersects the path
Move Moves the whole subpath by a given delta
Next Gets the subpath following this one
Previous Gets the subpath preceding this one
PutCurveInfo Replaces the current subpath with node information provided
ReverseDirection Reverses the node order within the subpath
Selection Creates a range containing all the select nodes on this subpath
SetPosition Sets the horizontal and vertical position of the subpath's head on the page
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
Corel DESIGNER: X7, 2017.1, 20.1, 2019.2, 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.