SetWidth Method

Sets the start and end width of a polyline, given the segment index.

See Also | Example

Signature

object.SetWidth SegmentIndex, StartWidth, EndWidth

Object

LightweightPolyline, Polyline
The object or objects this method applies to.

SegmentIndex

Integer; input-only
An index specifying the segment whose width is to be set. The first segment is index 0.

StartWidth

Double; input-only
The start width for the specified segment.

EndWidth

Double; input-only
The end width for the specified segment.

Remarks

The segment index is the index of a particular segment of the polyline. For example, a polyline with three segments has segment indexes 0, 1, and 2.

Polyline: this method will fail if the polyline Type property is acCubicSplinePoly or acQuadSplinePoly.

 

   Comments?