Previous Document Next Document

Object Model Reference : Classes : C : CorelScript : Methods : CorelScript.GetOutline


CorelScript.GetOutline

Function GetOutline(Width As Long, Type As Long, EndCaps As Long, JoinType As Long, Aspect As Long, Angle As Long, DotDash As Long, RightArrow As Long, LeftArrow As Long, BehindFill As Boolean, ScalePen As Boolean) As Long

Description

Member of CorelScript

The GetOutline method returns the outline attributes of the selected object (or of the last object in a selection).

Parameter
Description
Width
Specifies the width of the outline, in tenths of a micron
Type
Specifies the outline type:
 
0 = None
 
1 = Solid
 
2 = Dot - Dash
EndCaps
Specifies the end caps to apply to the outline:
 
0 = Butt
 
1 = Round
 
2 = Square
JoinType
Specifies the outline-join type:
 
0 = Miter
 
1 = Round
 
2 = Bevel
Aspect
Specifies the stretch field, which adjusts the width of the nib. Valid values range from 1 to 100 percent.
Angle
Specifies the angle of the nib’s edge, in tenths of a degree. To determine angle measurements, use the CorelScriptTools.AngleConvert method.
DotDash
Specifies the type of dot/dash line, as listed in the Style list box of the Outline Pen dialog box
RightArrow
Specifies the type of right arrow, as listed in the right Arrows list box of the Outline Pen dialog box
LeftArrow
Specifies the type of left arrow, as listed in the left Arrows list box of the Outline Pen dialog box
BehindFill
Specifies where to position the outline. True (-1) positions the outline behind the fill, while False (0) positions it in front of the fill.
ScalePen
Specifies whether to scale the outline when the object is scaled. True (-1) enables scaling.

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.