### Guide Class Methods Source: https://community.coreldraw.com/sdk/api/draw/27/c/guide?lang=cli Methods of the Guide class that allow users to retrieve and modify guideline properties. ```APIDOC ## Guide Class Methods ### Description Methods of the `Guide` class that allow users to retrieve and modify guideline properties. ### Methods - **GetPointAndAngle** - Returns the position of a point on a guideline and the slope angle. - **GetPoints** - Returns the XY coordinates of the two points of the guideline. - **MakeEditable** - Makes the guideline editable. - **SetPointAndAngle** - Moves/rotates the guideline by specifying a point and a slope angle. - **SetPoints** - Moves/rotates the guideline by specifying two points. ``` -------------------------------- ### Guide Class Properties Source: https://community.coreldraw.com/sdk/api/draw/27/c/Guide?lang=cs The Guide class exposes several properties to retrieve information about a guideline associated with a shape. ```APIDOC ## Guide Class Properties ### Description Properties of the Guide class that provide information about a guideline. ### Properties - **Angle** (Type: Varies) - Returns the slope angle of the guideline. - **CenterX** (Type: Varies) - Returns the X coordinate of the point on a guideline closest to the page center. - **CenterY** (Type: Varies) - Returns the Y coordinate of the point on a guideline closest to the page center. - **InterceptX** (Type: Varies) - Returns the X coordinate of the intersection of the guideline and the horizontal axis going through the center of the page. - **InterceptY** (Type: Varies) - Returns the Y coordinate of the intersection of the guideline and the vertical axis going through the center of the page. - **Point1X** (Type: Varies) - Returns the horizontal position of the first guideline point. - **Point1Y** (Type: Varies) - Returns the vertical position of the first guideline point. - **Point2X** (Type: Varies) - Returns the horizontal position of the second guideline point. - **Point2Y** (Type: Varies) - Returns the vertical position of the second guideline point. - **Preset** (Type: Varies) - Gets whether the guideline is a preset. - **Type** (Type: Varies) - Gets the type of guideline. ``` -------------------------------- ### IQuickExport.CreateSettings Method Source: https://community.coreldraw.com/sdk/api/draw/27/m/IQuickExport.CreateSettings Creates a settings object for quick export operations. ```APIDOC ## Function CreateSettings() ### Description Creates a settings object for quick export operations. ### Syntax Function CreateSettings() As IQuickExportSettings ``` -------------------------------- ### Get Tool Shapes Source: https://community.coreldraw.com/sdk/api/draw/27/c/ShapeRange Gets a subset ShapeRange that matches a toolshape GUID. ```APIDOC ## GetToolShapes ### Description Gets a subset shape range that match a toolshape GUID. ### Method (Method signature not provided in source) ### Endpoint (Endpoint not provided in source) ### Parameters (Parameters not provided in source) ### Request Example (Request example not provided in source) ### Response (Response details not provided in source) ``` -------------------------------- ### Get Tool Shapes Source: https://community.coreldraw.com/sdk/api/draw/27/c/shaperange?lang=vb Gets a subset shape range that match a toolshape GUID. ```APIDOC ## GetToolShapes ### Description Gets a subset shape range that match a toolshape GUID. ### Method (Not specified, assumed to be a method call on a ShapeRange object) ### Endpoint (Not applicable for SDK methods) ### Parameters (Not specified) ### Request Example (Not applicable for SDK methods) ### Response (Not specified) ``` -------------------------------- ### IQuickExport.ExportAll Method Source: https://community.coreldraw.com/sdk/api/draw/27/m/IQuickExport.ExportAll?lang=vb Exports all the registered settings using the IQuickExport interface. ```APIDOC ## IQuickExport.ExportAll Method ### Description Exports all the registered settings. ### Syntax ```vb Sub ExportAll() ``` ``` -------------------------------- ### IQuickExport.ExportAll Method Source: https://community.coreldraw.com/sdk/api/draw/27/m/IQuickExport.ExportAll?lang=cs Exports all currently registered settings using the IQuickExport interface. ```APIDOC ## IQuickExport.ExportAll Method ### Description Exports all the registered settings. ### Syntax ```csharp void ExportAll(); ``` ``` -------------------------------- ### GetToolShapes Source: https://community.coreldraw.com/sdk/api/draw/27/c/ShapeRange?lang=cli Gets a subset shape range that match a toolshape GUID. ```APIDOC ## GetToolShapes ### Description Gets a subset shape range that match a toolshape GUID. ### Method Not specified (assumed to be a method call on a ShapeRange object) ### Endpoint Not applicable (SDK method) ### Parameters - **toolShapeGUID** (string) - Required - The GUID of the tool shape. ### Request Example ``` toolShapes = shaperrange.GetToolShapes("{GUID-HERE}") ``` ### Response - **toolShapes** (ShapeRange) - A ShapeRange containing shapes that match the toolshape GUID. ``` -------------------------------- ### GetToolShapeGuid Source: https://community.coreldraw.com/sdk/api/draw/27/c/Shape?lang=cli Gets the tool shape GUID. Returns an empty string if it is a built-in type. ```APIDOC ## GetToolShapeGuid ### Description Gets the tool shape GUID. Returns an empty string if it is a built-in type. ### Method Not specified ### Endpoint Not specified ### Parameters Not specified ### Request Example Not specified ### Response Not specified ``` -------------------------------- ### IQuickExport.ExportAll Method Source: https://community.coreldraw.com/sdk/api/draw/27/m/IQuickExport.ExportAll?lang=js Exports all registered settings using the IQuickExport interface. ```APIDOC ## IQuickExport.ExportAll Method ### Description Exports all the registered settings. ### Syntax ExportAll() ``` -------------------------------- ### GetToolShapeGuid Source: https://community.coreldraw.com/sdk/api/draw/27/c/Shape Gets the tool shape GUID. Returns an empty string if it is a built-in type. ```APIDOC ## GetToolShapeGuid ### Description Gets the tool shape GUID. Returns an empty string if it is a built-in type. ### Method APIDOC ### Endpoint APIDOC ### Parameters APIDOC ### Request Example APIDOC ### Response APIDOC ``` -------------------------------- ### CreateProofColorSettings Source: https://community.coreldraw.com/sdk/api/draw/27/i/IVGApplication Creates an instance of ProofColorSettings object. ```APIDOC ## CreateProofColorSettings ### Description Creates an instance of ProofColorSettings object. ### Method POST ### Endpoint /CreateProofColorSettings ``` -------------------------------- ### ExportAll Method Source: https://community.coreldraw.com/sdk/api/draw/27/m/IQuickExport.ExportAll?lang=cli Exports all registered settings for the IQuickExport interface. ```APIDOC ## ExportAll Method ### Description Exports all the registered settings. ### Syntax ```csharp void ExportAll(); ``` ``` -------------------------------- ### Get Texture Fill Property Name (VBA) Source: https://community.coreldraw.com/sdk/api/draw/27/p/TextureFillProperty.Name This VBA example shows how to get the name of a specific texture-fill property. It creates a texture fill and then accesses the name of the third property. ```VBA Sub Test() Dim s As Shape Dim tf As TextureFill Set s = ActiveLayer.CreateRectangle(0, 0, 2, 2) Set tf = s.Fill.ApplyTextureFill("Fire Flies", "Samples 9") MsgBox tf.Properties(3).Name End Sub ``` -------------------------------- ### IQuickExport.OutputFolder Property Source: https://community.coreldraw.com/sdk/api/draw/27/p/IQuickExport.OutputFolder Gets or sets the output folder for quick exports. ```APIDOC ## IQuickExport.OutputFolder Property ### Description Gets or sets the output folder for quick exports. ### Syntax ```vb Property Get OutputFolder() As String Property Let OutputFolder(ByVal Value As String) ``` ### Parameters #### Property Get This method does not take any parameters. #### Property Let - **Value** (String) - Required - The path to the output folder. ``` -------------------------------- ### Set Starting Control Point Position in VBA Source: https://community.coreldraw.com/sdk/api/draw/27/m/Segment.SetStartingControlPointPosition?lang=vba Use this method to set the position of the starting control point for a segment. The example demonstrates creating a curve and manipulating control points. ```VBA Sub Test() Dim s As Shape, s2 As Shape Dim sp As SubPath Dim crv As Curve, crv2 As Curve Dim seg As Segment, seg2 As Segment Dim x As Double, y As Double Set crv = CreateCurve(ActiveDocument) ActiveDocument.ReferencePoint = cdrBottomLeft Set sp = crv.CreateSubPath(1, 1) sp.AppendLineSegment 1, 1 sp.AppendCurveSegment 3, 3 sp.AppendCurveSegment 5, 1 sp.AppendCurveSegment 6, 4 sp.Nodes(2).Type = cdrSmoothNode sp.Nodes(3).Type = cdrSmoothNode Set s = ActiveLayer.CreateCurve(crv) Set seg = ActiveShape.Curve.Segments(2) seg.GetStartingControlPointPosition x, y Set seg2 = ActiveShape.Curve.Segments(ActiveShape.Curve.Segments.Count) seg2.SetStartingControlPointPosition x, y End Sub ``` -------------------------------- ### Get Node Count and Type - VBA Source: https://community.coreldraw.com/sdk/api/draw/27/p/NodeRange.Type This VBA example demonstrates how to get the number of selected nodes and their type. It handles cases with no nodes, a single type of node, or mixed node types. ```VBA Sub Test() Dim nr As NodeRange Dim s As String Set nr = ActiveShape.Curve.Selection If nr.Count = 0 Then s = "No nodes selected" Else s = CStr(nr.Count) & " " Select Case nr.Type Case cdrSymmetricalNode s = s & "symmetrical" Case cdrSmoothNode s = s & "smooth" Case cdrCuspNode s = s & "cusp" Case cdrMixedNodes s = s & "nodes of different type" End Select If nr.Type <> cdrMixedNodes Then s = s & " nodes" s = s & " selected" End If MsgBox s End Sub ``` -------------------------------- ### PrintSettings.ShowDialog Method Source: https://community.coreldraw.com/sdk/api/draw/27/m/PrintSettings.ShowDialog?lang=vb Shows the Print settings dialog. ```APIDOC ## PrintSettings.ShowDialog ### Description Displays the Print dialog box. ### Syntax Function ShowDialog() As Boolean ### Remarks The **ShowDialog** method displays the **Print** dialog box. ``` -------------------------------- ### Linked Shapes and Tool Shapes Source: https://community.coreldraw.com/sdk/api/draw/27/c/shaperange?lang=cs Methods to get linked shapes and subsets matching toolshape GUIDs. ```APIDOC ## GetLinkedShapes ### Description Gets all the shapes linked in some way to the shapes in the range. ## GetToolShapes ### Description Gets a subset shape range that match a toolshape GUID. ``` -------------------------------- ### PrintSettings.ShowDialog method Source: https://community.coreldraw.com/sdk/api/draw/27/m/PrintSettings.ShowDialog?lang=cpp Shows the Print settings dialog. ```APIDOC ## PrintSettings.ShowDialog method ### Description Shows the Print settings dialog. ### Syntax VARIANT_BOOL ShowDialog(); ### Remarks The **ShowDialog** method displays the **Print** dialog box. ``` -------------------------------- ### DXFImport.ShowDialog Method Source: https://community.coreldraw.com/sdk/api/draw/27/m/DXFImport.ShowDialog?lang=cpp Displays the DXF import dialog. This method allows users to interactively configure DXF import settings. ```APIDOC ## DXFImport.ShowDialog ### Description Displays the DXF import dialog, allowing users to configure import settings. ### Method Signature `VARIANT_BOOL ShowDialog(int hWnd = 0);` ### Parameters #### Path Parameters - **hWnd** (int) - Optional - Handle to the owner window. Defaults to 0. ``` -------------------------------- ### EffectBlend.StartShape Property Source: https://community.coreldraw.com/sdk/api/draw/27/p/EffectBlend.StartShape Gets or sets the blend starting shape. This property is crucial for defining the initial appearance of a blend effect. ```APIDOC ## EffectBlend.StartShape Property ### Description Gets or sets the blend starting shape. ### Syntax ```vb Property Get StartShape() As Shape Property Set StartShape(ByVal Value As Shape) ``` ### Remarks The **StartShape** property returns or specifies the starting shape for a blend effect. ### Example ```vb Sub Test() Dim s As Shape For Each s In ActivePage.Shapes If s.Type = cdrBlendGroupShape Then s.Effect.Blend.StartShape.Fill.UniformColor.RGBAssign 255, 255, 0 s.Effect.Blend.EndShape.Fill.UniformColor.RGBAssign 0, 128, 0 End If Next s End Sub ``` ``` -------------------------------- ### Get and Set DataField.SummarizeGroup Property (VBA) Source: https://community.coreldraw.com/sdk/api/draw/27/p/DataField.SummarizeGroup Use this property to get or set whether data in fields for grouped objects should be summarized. The example iterates through all data fields in the active document and displays their names along with whether their SummarizeGroup property is set to 'Yes' or 'No'. ```VBA Sub Test() Dim s As String Dim df As DataField s = "Field" & vbTab & "Summarize" & vbCr s = s & "------" & vbTab & "--------------" & vbCr For Each df In ActiveDocument.DataFields s = s & vbCr & df.Name & vbTab If df.SummarizeGroup Then s = s & "Yes" Else s = s & "No" Next df MsgBox s End Sub ``` -------------------------------- ### ProofColorSettings.GetCopy Method Source: https://community.coreldraw.com/sdk/api/draw/27/m/ProofColorSettings.GetCopy?lang=cpp Creates a copy of the ProofColorSettings object. ```APIDOC ## ProofColorSettings.GetCopy Method ### Description Creates a copy of the object. ### Syntax ```cpp IVGProofColorSettingsPtr GetCopy(); ``` ### Remarks The **GetCopy** method creates a copy of the object. ``` -------------------------------- ### GMSProjects Class Source: https://community.coreldraw.com/sdk/api/draw/27/c/gmsprojects?lang=cs Provides access to GMS modules installed in CorelDRAW. It allows for iterating through modules, getting the count, and accessing individual modules by index or name. ```APIDOC ## Class VGCore.GMSProjects ### Description Represents a collection of GMS modules. ### Properties - **Count** (int) - Returns the number of GMS modules installed. - **Item** (GMSProject) - Returns a GMS module by its index or name. ### Methods - **Create()** - Creates a new empty GMS module file. - **Load()** - Loads a new GMS module file. ``` -------------------------------- ### Guide.Preset Property Source: https://community.coreldraw.com/sdk/api/draw/27/p/Guide.Preset Gets whether a guideline is a preset guideline. ```APIDOC ## Guide.Preset Property ### Description Gets whether a guideline is a preset guideline. ### Syntax Property Get Preset() As Boolean ### Remarks The **Preset** property returns a value of **True** if a guideline is a preset guideline, **False** if it is not. ### Examples ```vba Sub Test() Dim s As Shape For Each s In ActiveDocument.Pages(0).Guides(cdrAllGuides) If Not s.Guide.Preset Then s.Delete Next s End Sub ``` ``` -------------------------------- ### IVGConnector Interface Source: https://community.coreldraw.com/sdk/api/draw/27/i/IVGConnector The IVGConnector interface is the main interface for the Connector class. It provides properties to get or set the End Point and Start Point, and to retrieve the type of the connector. ```APIDOC ## Interface IVGConnector ### Description The main interface for Connector class. ### Properties - **EndPoint** (Gets or sets) - Gets or sets the End Point of the connector. - **StartPoint** (Gets or sets) - Gets or sets the Start Point of the connector. - **Type** (Returns) - Returns the type of the connector. ``` -------------------------------- ### IQuickExportSettings Interface Source: https://community.coreldraw.com/sdk/api/draw/27/i/IQuickExportSettings?lang=cli Provides access to quick export settings, allowing users to enable/disable export, set filename suffixes, and manage export formats. ```APIDOC ## Interface: ExportToolLib::IQuickExportSettings ### Description This interface manages quick export settings for CorelDRAW. ### Properties - **Enabled** (boolean) - Gets or sets the on/off status for quick export. - **Suffix** (string) - Gets or sets a suffix to be appended to the exported filename. - **Title** (string) - Gets or sets a title to be used for the exported filename. ### Methods - **Export()** - Exports the current document using the configured quick export settings. - **GetFormat()** - Retrieves the current filter settings for export. - **SetFormat(formatSettings)** - Sets the filter settings for export. (Parameter details not specified in source) ``` -------------------------------- ### Change Blend Start and End Shape Fill Colors (VBA) Source: https://community.coreldraw.com/sdk/api/draw/27/p/EffectBlend.StartShape This VBA example iterates through all shapes on the active page. If a shape is a blend group, it changes the fill color of the starting shape to yellow and the ending shape to green. Ensure the shapes are valid blend groups before attempting to modify their properties. ```VBA Sub Test() Dim s As Shape For Each s In ActivePage.Shapes If s.Type = cdrBlendGroupShape Then s.Effect.Blend.StartShape.Fill.UniformColor.RGBAssign 255, 255, 0 s.Effect.Blend.EndShape.Fill.UniformColor.RGBAssign 0, 128, 0 End If Next s End Sub ``` -------------------------------- ### Set Print Settings and Print Document (VBA) Source: https://community.coreldraw.com/sdk/api/draw/27/p/PrintPostScript.ResolveDCSLinks This VBA example demonstrates how to set the MaintainOPILinks and ResolveDCSLinks properties to True, specify a filename, enable printing to file, and then print the active document. Use this when you need to control PostScript generation options before printing. ```VBA Sub Test() With ActiveDocument .PrintSettings.PostScript.MaintainOPILinks = True .PrintSettings.PostScript.ResolveDCSLinks = True .PrintSettings.FileName = "c:\\Temp.ps" .PrintSettings.PrintToFile = True .PrintOut End With End Sub ``` -------------------------------- ### FrameWork.ShowDocker Method Source: https://community.coreldraw.com/sdk/api/draw/27/m/FrameWork.ShowDocker?lang=cs The ShowDocker method displays a docker window within the CorelDRAW application. ```APIDOC ## FrameWork.ShowDocker ### Description Shows a docker window. ### Syntax `void ShowDocker(string Guid);` ### Parameters #### Path Parameters - **Guid** (string) - Description of the Guid parameter. ### Remarks The **ShowDocker** method displays a docker. ``` -------------------------------- ### SystemPrinters Class Properties Source: https://community.coreldraw.com/sdk/api/draw/27/c/SystemPrinters?lang=cs The SystemPrinters class provides access to installed printers on the system. It includes properties to get the count of printers, the default printer, and specific printers by index. ```APIDOC ## Class SystemPrinters ### Description Represents all installed printers on the system. ### Syntax ```csharp class VGCore.SystemPrinters; ``` ### Properties - **Count** (int) - Returns the number of installed printers. - **Default** (Printer) - Returns the system default printer. - **Item** (Printer) - Returns the specified printer. Accepts an index as a parameter. ``` -------------------------------- ### DXFImport.ShowDialog Method Source: https://community.coreldraw.com/sdk/api/draw/27/m/DXFImport.ShowDialog?lang=cli Displays the DXF import dialog box to the user. This method allows for user interaction to configure DXF import settings. ```APIDOC ## DXFImport.ShowDialog Method ### Description Displays the DXF import dialog box to the user. This method allows for user interaction to configure DXF import settings. ### Syntax ```csharp bool ShowDialog(int hWnd = 0); ``` ### Parameters #### Path Parameters - **hWnd** (int) - Optional - Specifies the handle of the parent window. Defaults to 0. ``` -------------------------------- ### Get DimensionLinear Type in VBA Source: https://community.coreldraw.com/sdk/api/draw/27/p/DimensionLinear.Type This VBA example creates a rectangle and a linear dimension, then displays the type of the linear dimension using the Type property. Ensure CorelDRAW is running and the SDK is accessible. ```VBA Sub Test() Dim shp1 As Shape, shp2 As Shape Set shp1 = ActiveLayer.CreateRectangle2(0, 0, 8, 4) Set shp2 = ActiveLayer.CreateLinearDimension(cdrDimensionHorizontal, _ shp1.SnapPoints(1), shp1.SnapPoints(3)) MsgBox shp2.Dimension.Linear.Type End Sub ``` -------------------------------- ### Get Bitmap Width and Height in VBA Source: https://community.coreldraw.com/sdk/api/draw/27/p/Bitmap.SizeWidth This VBA example shows how to access the SizeWidth and SizeHeight properties of a bitmap object to display its dimensions in pixels. Ensure an active shape with a bitmap is selected. ```VBA Sub Size() With ActiveShape.Bitmap MsgBox .SizeWidth MsgBox .SizeHeight End With End Sub ``` -------------------------------- ### DSFImport.ShowDialog Method Source: https://community.coreldraw.com/sdk/api/draw/27/m/DSFImport.ShowDialog?lang=cs Displays the DSF import dialog. Returns true if the dialog was shown successfully, false otherwise. ```APIDOC ## DSFImport.ShowDialog Method ### Description Displays the DSF import dialog. This method allows users to interact with the dialog to import DSF files. ### Syntax ```csharp bool ShowDialog(int hWnd = 0); ``` ### Parameters #### Path Parameters - **hWnd** (int) - Optional - Specifies the handle of the parent window for the dialog. ``` -------------------------------- ### Get Y Position of Curve Intersections in VBA Source: https://community.coreldraw.com/sdk/api/draw/27/p/CrossPoint.PositionY Use this VBA code to create intersecting shapes, find their intersection points, and mark these points with small circles. This example requires creating two ellipses, combining them, and then iterating through their subpaths' intersections. ```VBA Sub YPosition() Dim s1 As Shape, sr As New ShapeRange Dim s As Shape Dim cps As CrossPoints Dim cp As CrossPoint sr.Add ActiveLayer.CreateEllipse2(4, 4, 3) sr.Add ActiveLayer.CreateEllipse2(5, 3, 2) Set s = sr.Combine Set cps = s.Curve.Subpaths(1).GetIntersections(s.Curve.Subpaths(2)) For Each cp In cps ActiveLayer.CreateEllipse2 cp.PositionX, cp.PositionY, 0.1 Next cp End Sub ``` -------------------------------- ### ProofColorSettings.GetCopy Method Source: https://community.coreldraw.com/sdk/api/draw/27/m/ProofColorSettings.GetCopy?lang=js The GetCopy method creates a duplicate of the IVGProofColorSettings object. ```APIDOC ## ProofColorSettings.GetCopy Method ### Description Creates a copy of the object. ### Syntax GetCopy() { return Value; /*Object (IVGProofColorSettings)*/ } ### Remarks The **GetCopy** method creates a copy of the object. ``` -------------------------------- ### DSFImport.ShowDialog Method Source: https://community.coreldraw.com/sdk/api/draw/27/m/DSFImport.ShowDialog?lang=vb The ShowDialog method displays the dialog for importing DSF files. It accepts an optional window handle for the parent window. ```APIDOC ## DSFImport.ShowDialog Method ### Description Displays the dialog for importing DSF files. This method can be used to interact with the user to select a DSF file for import. ### Syntax ```vb Function ShowDialog(Optional ByVal hWnd As Integer = 0) As Boolean ``` ### Parameters #### Path Parameters This method does not have path parameters. #### Query Parameters This method does not have query parameters. #### Request Body This method does not have a request body. ### Parameters - **hWnd** (Integer) - Optional - Specifies the handle of the parent window for the dialog. Defaults to 0. ``` -------------------------------- ### VBA Example: Modifying Arrowheads using Count Source: https://community.coreldraw.com/sdk/api/draw/27/p/ArrowHeads.Count This VBA code iterates through selected shapes, checks if they have an outline, and if the start or end arrow index is 1, it replaces the arrowhead with the last one in the ArrowHeads collection. Ensure the ArrowHeads collection is populated before running. ```VBA Sub Count() Dim s As Shape Dim Arrow As ArrowHead Set Arrow = ArrowHeads(ArrowHeads.Count) For Each s In ActiveDocument.Selection.Shapes If s.Outline.Type = cdrOutline Then With s.Outline If .StartArrow.Index = 1 Then .StartArrow = Arrow End If If .EndArrow.Index = 1 Then .StartArrow = Arrow End If End With End If Next s End Sub ``` -------------------------------- ### TextRange Class Properties Source: https://community.coreldraw.com/sdk/api/draw/27/c/TextRange?lang=js The TextRange class provides properties to get or set various attributes of a text range. These include formatting like Bold, Italic, Underline, font properties, alignment, spacing, and structural information such as start and end positions, length, and collections of characters, lines, and paragraphs. ```APIDOC ## TextRange Class Represents a text range in CorelDRAW. ### Properties - **Alignment** (Gets/sets) - The alignment of the text in the range. - **AutoHyphenate** (Gets/sets) - The value for automatic hyphenation. - **Baselines** (Returns) - A curve representing the placement and direction of baselines for each text line. - **Bold** (Gets/sets) - The Bold property of the range. - **BulletBaselineShift** (Gets/sets) - The vertical shift of the bullet symbol from the baseline in points. - **BulletFont** (Gets/sets) - The font face of the bullet symbol. - **BulletHangingIndent** (Gets/sets) - The hanging indent for paragraphs when a bullet effect is applied. - **BulletHorizontalPosition** (Gets/sets) - The horizontal offset of the bullet symbol from the left text margin. - **BulletSize** (Gets/sets) - The font size of the bullet symbol in points. - **BulletSymbol** (Gets/sets) - The character to use as a bullet. - **Case** (Gets/sets) - The case of the text in the range. - **Characters** (Collection) - Collection of all characters in the range. - **CharAngle** (Gets/sets) - The rotation angle of characters. - **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) - Collection of text columns in the range. - **DropCapDistanceFromText** (Gets/sets) - The distance between a drop cap and the rest of the text. - **DropCapHangingIndent** (Gets/sets) - The hanging indent for paragraphs when a drop cap effect is applied. - **DropCapLinesDropped** (Gets/sets) - The number of lines a drop cap effect drops. - **Effect** (Returns) - The paragraph formatting effect type. - **End** (Gets) - The ending character position of the range in the text stream. - **Fill** (Gets) - The fill property. - **FirstLineIndent** (Gets/sets) - The amount by which the first line is indented. - **Font** (Gets/sets) - The font name. - **Frames** (Collection) - 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. - **IndentLevel** (Gets/sets) - The paragraph indent level. - **IndentLevelStyles** (Returns) - The styles of all possible indent level properties. - **IsEmpty** (Returns) - True if the text range is of zero length. - **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** (Gets) - The length of the range in characters. - **Lines** (Collection) - 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 property. - **Overscore** (Gets/sets) - The Overscore property of the range. - **Paragraphs** (Collection) - 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/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** (Gets) - The 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 tab stops defined for the text range. - **Text** (Gets/sets) - The text string in the range. - **TextFormatter** (Gets/sets) - The text formatter used for the text stream. - **TextLineRects** (Returns) - A curve representing a set of rectangular subpaths for each text line's bounding box. - **Underline** (Gets/sets) - The Underline property of the range. - **VariableAxes** (Returns) - The variable font axes values. - **VertShift** (Gets/sets) - The amount by which the text has been shifted vertically. - **WideText** (Gets/sets) - The Unicode text string. ``` -------------------------------- ### ProofColorSettings Class Methods Source: https://community.coreldraw.com/sdk/api/draw/27/c/ProofColorSettings?lang=cli The ProofColorSettings class includes methods for copying and creating instances of color-proofing settings. ```APIDOC ## ProofColorSettings Class Methods ### Description Provides methods for managing ProofColorSettings objects. ### Methods - **CopyAssign**(source As ProofColorSettings) As Void - Copies the settings from the source object into the current one. - **GetCopy**() As ProofColorSettings - Creates a copy of the object. ``` -------------------------------- ### cdrGuideType Enumeration Source: https://community.coreldraw.com/sdk/api/draw/27/e/cdrGuideType?lang=cpp The `cdrGuideType` enumeration defines the types of guides that can be specified in CorelDRAW. It includes members for all guides, horizontal guides, vertical guides, and slanted guides. ```APIDOC ## cdrGuideType Enumeration ### Description Defines the types of guides available in CorelDRAW. ### Syntax ```cpp enum VGCore::cdrGuideType; ``` ### Members | Name | Value | Description | |---|---|---| | cdrAllGuides | -1 | Specifies all guides | | cdrHorizontalGuide | 0 | Specifies horizontal guides | | cdrVerticalGuide | 1 | Specifies vertical guides | | cdrSlantedGuide | 2 | Specifies slanted guides | ``` -------------------------------- ### DXFImport.ShowDialog Method Source: https://community.coreldraw.com/sdk/api/draw/27/m/DXFImport.ShowDialog?lang=vba Displays the DXF import dialog box. This method allows users to interactively select DXF import options. ```APIDOC ## DXFImport.ShowDialog ### Description Displays the DXF import dialog box, allowing users to configure import settings. ### Syntax ```vba Function ShowDialog(Optional ByVal hWnd As Long = 0) As Boolean ``` ### Parameters #### Path Parameters - **hWnd** (Long) - Optional. Handle to the owner window. Defaults to 0. ### Return Value - **Boolean** - Returns True if the dialog was displayed successfully, False otherwise. ``` -------------------------------- ### cdrGuideType Enumeration Source: https://community.coreldraw.com/sdk/api/draw/27/e/cdrGuideType?lang=cli The cdrGuideType enumeration defines the types of guides that can be specified in CorelDRAW operations. It includes members for all guides, horizontal guides, vertical guides, and slanted guides. ```APIDOC ## cdrGuideType Enumeration ### Description Defines the types of guides available in CorelDRAW. ### Syntax ```cpp enum class VGCore::cdrGuideType : int; ``` ### Members | Name | Value | Description | |---|---|---| | cdrAllGuides | -1 | Specifies all guides | | cdrHorizontalGuide | 0 | Specifies horizontal guides | | cdrVerticalGuide | 1 | Specifies vertical guides | | cdrSlantedGuide | 2 | Specifies slanted guides | ``` -------------------------------- ### DXFImport.ShowDialog Method Source: https://community.coreldraw.com/sdk/api/draw/27/m/DXFImport.ShowDialog?lang=cs Displays the DXF import dialog. This method can optionally take a window handle to parent the dialog. ```APIDOC ## DXFImport.ShowDialog ### Description Displays the DXF import dialog. This method can optionally take a window handle to parent the dialog. ### Syntax ```csharp bool ShowDialog(int hWnd = 0); ``` ### Parameters #### Path Parameters - **hWnd** (int) - Optional - The handle of the parent window. Defaults to 0. ``` -------------------------------- ### DXFImport.ShowDialog Method Source: https://community.coreldraw.com/sdk/api/draw/27/m/DXFImport.ShowDialog?lang=js Displays the DXF import dialog to the user. This method can optionally take a window handle for parent window association. ```APIDOC ## DXFImport.ShowDialog ### Description Displays the DXF import dialog. ### Syntax ShowDialog(hWnd = 0 /*Number (Int32)*/) { return Value; /*Boolean*/ } ### Parameters #### Path Parameters - **hWnd** (Number (Int32)) - Optional - Handle to the parent window. Defaults to 0. ### Return Value - **Value** (Boolean) - Indicates whether the dialog was successfully shown or if an operation was performed. ``` -------------------------------- ### cdrGuideType Enumeration Source: https://community.coreldraw.com/sdk/api/draw/27/e/cdrGuideType The cdrGuideType enumeration defines constants used to specify the type of guides in CorelDRAW. It includes members for all guides, horizontal guides, vertical guides, and slanted guides. ```APIDOC Enum cdrGuideType Members: Name | Value | Description ---|---|--- cdrAllGuides | -1 | Specifies all guides cdrHorizontalGuide | 0 | Specifies horizontal guides cdrVerticalGuide | 1 | Specifies vertical guides cdrSlantedGuide | 2 | Specifies slanted guides ``` -------------------------------- ### cdrGuideType Enumeration Source: https://community.coreldraw.com/sdk/api/draw/27/e/cdrGuideType?lang=vb The cdrGuideType enumeration defines constants used to specify different types of guides in CorelDRAW. This includes options for all guides, horizontal guides, vertical guides, and slanted guides. ```APIDOC ## cdrGuideType Enumeration ### Description This enumeration defines constants for specifying different types of guides within the CorelDRAW SDK. ### Syntax ```vb Enum VGCore.cdrGuideType As Integer ``` ### Members | Name | Value | Description | |---|---|---| | cdrAllGuides | -1 | Specifies all guides | | cdrHorizontalGuide | 0 | Specifies horizontal guides | | cdrVerticalGuide | 1 | Specifies vertical guides | | cdrSlantedGuide | 2 | Specifies slanted guides | ``` -------------------------------- ### FrameWork.ShowMessageBox Method Source: https://community.coreldraw.com/sdk/api/draw/27/m/FrameWork.ShowMessageBox?lang=js Displays a message box to the user with customizable options. ```APIDOC ## FrameWork.ShowMessageBox ### Description Shows a message box to the user. ### Syntax ShowMessageBox(szMessage /*String*/, szMainInstruction = undefined /*String*/, unFlags = 0 /*Number (Int32)*/, pImage = undefined /*Object (ICUIBitmapImage)*/, szHelpGuid = undefined /*String*/, szWarningName = undefined /*String*/, eFlags = Default /*Number (cuiMessageBoxFlags)*/, pDataContext = undefined /*Object (ICUIDataContext)*/) { return Value; /*Number (Int32)*/ } ### Parameters | Name | Type | Description | |---|---|---| | szMessage | String | | | szMainInstruction | String | | | unFlags | Number (Int32) | | | pImage | ICUIBitmapImage | | | szHelpGuid | String | | | szWarningName | String | | | eFlags | cuiMessageBoxFlags | | | pDataContext | ICUIDataContext | | ### Return Value Returns a Number (Int32) representing the value. ``` -------------------------------- ### IQuickExport.ExportAll Method Source: https://community.coreldraw.com/sdk/api/draw/27/m/IQuickExport.ExportAll?lang=cpp The ExportAll method is used to export all the currently registered settings within the CorelDRAW application. ```APIDOC ## IQuickExport.ExportAll ### Description Exports all registered settings. ### Syntax ```cpp void ExportAll(); ``` ``` -------------------------------- ### cdrGuideType Enumeration Source: https://community.coreldraw.com/sdk/api/draw/27/e/cdrguidetype?lang=vba The cdrGuideType enumeration defines constants used to specify the type of guide when working with guide objects in CorelDRAW VBA. It allows you to target specific guide orientations or all guides. ```APIDOC ## cdrGuideType Enumeration ### Description Defines constants for specifying guide types in CorelDRAW. ### Syntax Enum cdrGuideType ### Members | Name | Value | Description | |---|---|---| | cdrAllGuides | -1 | Specifies all guides | | cdrHorizontalGuide | 0 | Specifies horizontal guides | | cdrVerticalGuide | 1 | Specifies vertical guides | | cdrSlantedGuide | 2 | Specifies slanted guides | ``` -------------------------------- ### Start Event Source: https://community.coreldraw.com/sdk/api/draw/27/c/Application?lang=cli Invoked when starting application. ```APIDOC ## Start Event ### Description Invoked when starting application. ### Method Not specified (event) ### Endpoint Not applicable ```