DefaultLine Property

DefaultLine returns the default line properties object for this document. Returns a LineFormat object. All properties of the LineFormat object can be applied. This is a read-only property.

Syntax

object.DefaultLine

Example 1

This example demonstrates how to return the default line style of a plot document.

Debug.Print Plot.DefaultLine.Style

Example 2

This example demonstrates how to set the default line color of a plot document to brown.

Plot.DefaultLine.ForeColorRGBA.Color = srfColorBrown

Example 3

This script displays all the methods and properties in the PlotDocument object.

Used by: PlotDocument object