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
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
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
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
ICUIBackgroundTask
ICUIControlData
ICUIDataSourceFactory
ICUIRunningBackgroundTask
ICUIRunningTask
ICUITask
ICUITaskManager
ICUIWarning
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
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
WiPath
WiSpeed
WpgColorMode
WpgVersion
Structures:
CurveElement
Modules:
UICategories
C++/CLI
C++
C#
VB
VBA
API Documentation
>
CorelDRAW
>
2017
IVGTextRange interface
The main interface for TextRange class
Syntax:
Interface
IVGTextRange
Properties:
Name
Description
Alignment
Gets/sets the alignment of the text in the range
AutoHyphenate
Gets/sets the value for automatic hyphenation
Baselines
Returns a curve consisting of a set of line segments representing placement and direction of baselines of each text line in the range
Bold
Gets/sets the Bold property of the range
BulletBaselineShift
Gets or sets the vertical shift of the bullet symbol from baseline in points
BulletFont
Gets or sets the font face of the bullet symbol
BulletHangingIndent
Gets or sets the hanging indent for the paragraphs when bullet effect is applied
BulletHorizontalPosition
Gets or sets the horizontal offset of the bullet symbol from the left text margin
BulletSize
Gets or sets the font size of the bullet symbol in point
BulletSymbol
Gets or sets the character to use as a bullet
Case
Gets/sets the case of the text in the range
Characters
Collection of all characters in the range
CharAngle
Gets/sets the rotation angle
CharBackFill
Returns the background color for the characters in the range
CharSet
Gets/sets the character set of the text range
CharSpacing
Gets/sets the character spacing property
Columns
Collection of text columns in the range
DropCapDistanceFromText
Gets or sets the distance between a drop cap and the rest of the text
DropCapHangingIndent
Gets or sets the hanging indent for the paragraphs when drop cap effect is applied
DropCapLinesDropped
Gets or sets the number of lines a drop cap effect drops
Effect
Returns the paragraph formatting effect type
End
Ending character position of the range in the text stream
Fill
Gets the fill
FirstLineIndent
Gets/sets the amount that the first line is indented
Font
Gets/sets the font name
Frames
Collection of text frames in the range
HorizShift
Gets/sets the amount by which the text has been shifted horizontally
HyphenateAllCapWords
Gets/sets whether to hyphenate all uppercase words
HyphenateCapitals
Gets/sets whether to hyphenate uppercase words
HyphenHotZone
Gets/sets the distance from the right margin at which words begin to be hyphenated
HyphenMinCharsAfter
Gets/sets the minimum number of characters to use after a hyphen
HyphenMinCharsBefore
Gets/sets the minimum number of characters to use before a hyphen
HyphenMinWordLength
Gets/sets the minimum size of a word to hyphenate
IsEmpty
Returns True if the text range is of zero length (has no characters in it)
Italic
Gets/sets the Italic property of the range
LanguageID
Gets/sets the LanguageID of the text range
LeftIndent
Gets/sets the amount by which the text has been left-indented
Length
The length of the range in characters
Lines
Collection of all lines in the range
LineSpacing
Gets/sets the line spacing property
LineSpacingType
Gets the type of line spacing to use
MaxCharSpacing
Gets/sets the maximum amount of space between each character
MaxWordSpacing
Gets/sets the maximum amount of space between each word
MinWordSpacing
Gets/sets the minimum amount of space between each word
ObjectStyle
Returns the style currently applied to the text in the range
Outline
Gets the outline
Overscore
Gets/sets the Overscore property of the range
Paragraphs
Collection of all paragraphs in the range
ParaSpacingAfter
Gets/sets the amount of space after the paragraph
ParaSpacingBefore
Gets/sets the amount of space before the paragraph
Position
Gets/sets the font position
RangeKerning
Gets or sets the character range kerning
RightIndent
Gets/sets the amount by which the text has been right-indented
Size
Gets/sets the font size
Start
Starting character position of the range in the text stream
Strikethru
Gets/sets the StrikeThru property of the range
Style
Gets/sets the font style of the range
Tabs
Returns a collection of all tabs stops defined for the text range
Text
Text string in the range
TextFormatter
Gets or sets the text formatter used for the text stream
TextLineRects
Returns a curve consisting of a set of rectangular subpaths representing bounding boxes of each text line in the range
Underline
Gets/sets the Underline property of the range
VertShift
Gets/sets the amount by which the text has been shifted vertically
WideText
Unicode text string
Words
Collection of all words in the range
WordSpacing
Gets/sets the amount of space between each word
Methods:
Name
Description
AlignToBaseline
Removes vertical character shifts
ApplyBulletEffect
Applies bullet effect to paragraphs in the range
ApplyDropCapEffect
Applies drop cap effect to paragraphs in the range
ApplyNoEffect
Removes any paragraph formatting effect (such as drop cap or bullets)
ApplyStyle
Applies a style to the text in the range
ChangeCase
Changes the case of the text
Collapse
Collapses the text range
Combine
Combines the current text range with the given range
Copy
Copies the text to the clipboard
CopyAttributes
Copies text attributes from the source text range and applies them to the current text range
Delete
Deletes the characters in the range
Duplicate
Returns a copy of the TextRange object
EnumRanges
Gets a collection of text ranges sharing the same character attributes
Evaluate
Evaluates the given CQL expression using properties of the text range and returns the result of the expression
FindRanges
Find text character ranges using the supplied query condition in CQL
GetOpenTypeFeature
Gets the current state of the OpenType feature for the text range
InRange
Gets whether the current text range is within the given range
InsertAfter
Inserts the new text after the last character in the range and returns a range containing only the inserted characters
InsertAfterWide
Inserts the new Unicode text after the last character in the range and returns a range containing only the inserted characters
InsertBefore
Inserts the new text before first character in the range and returns a range containing only the inserted characters
InsertBeforeWide
Inserts the new Unicode text before first character in the range and returns a range containing only the inserted characters
IsSame
Gets whether the current text range is the same as the given range
Paste
Replaces the current text range and returns the new one
Range
Returns a range of characters relative to the beginning of the current range
Replace
Replaces the range with the text string and returns the new range
ReplaceWide
Replaces the range with the Unicode text string and returns the new range
Select
Selects the characters in the range
SetLineSpacing
Sets the line spacing properties of the text range
SetOpenTypeFeature
Changes the state of the OpenType feature for the text range
SetRange
Sets the starting and ending position of the text range
Straighten
Removes horizontal and vertical character shifts as well as their rotation
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