Line Property

Line returns the line format object. Returns a LineFormat object. This is a read-only property.

Syntax

object.Line

Example 1a

This example demonstrates how to return the line color of a base map. Note that the Color property cannot be used to return a value.

Debug.Print BaseLayer.Line.ForeColorRGBA.Red

Debug.Print BaseLayer.Line.ForeColorRGBA.Green

Debug.Print BaseLayer.Line.ForeColorRGBA.Blue

Debug.Print BaseLayer.Line.ForeColorRGBA.Alpha

Example 1b

This example demonstrates how to return the line color of a base map using the superceded ForeColor property.

Debug.Print BaseLayer.Line.ForeColor

Example 2

This example demonstrates how to change the line color of an ellipse to brown.

Ellipse.Line.ForeColorRGBA.Color = srfColorBrown

Used by: 3D Polygon object, 3D Polyline object, Ellipse object, Level object, Polygon object, Polyline object, Profile object, Rectangle object, ScaleBar object, SymbologyUniqueValues object, VectorBaseLayer object, ViewshedLayer object

See Also

Line Properties