The Style property returns or sets the line style. Returns a string.
Syntax
object.Style
object.Style = Style
Parameter |
Type |
Description |
Style |
String |
required; line style name |
Example 1
This example demonstrates how to return the style of a line.
Debug.Print LineFormat.Style
Example 2
This example demonstrates how to apply a dash-dot-dot style to a line.
LineFormat.Style = "Dash Dot Dot"
Used by: LineFormat object