LineFormat (Object)

Member of:

Body object, Shape object, Control object, LegendItem object, TrendLine obect

Description:

Contains all of the properties associated with border formatting.

Constants:

The LineFormat (Object) uses these constants:

Example 1:

This example shows how to change the border color, width and DashStyle of a rectangle:

MyRectangle = ActiveDocument.Sections["Dashboard"].Shapes["Rectangle"]
MyRectangle.Line.Color = bqRed
MyRectangle.Line.Width = 4
MyRectangle.Line.DashStyle = bqDashStyleDotDotDash

Example 2:

This example shows how to change the marker color and style for a line chart:

ActiveDocument.Sections["AllChart"].Legend.Items["Unit Sales"].Line. MarkerBorderColor=bqRed
ActiveDocument.Sections["AllChart"].Legend.Items["Unit Sales"].Line. MarkerStyle=bqMarkerStyleTriangle

Methods:

None

Properties:

Read-write: Property Color As BqColorType (Number), Property DashStyle as BqDashStyle, Property MarkerBorderColor as BqColorType, Property MarkerFillColor as BqColorType, Property MarkerSize as Number, Property MarkerStyle as BqMarkerStyle, Property Width as Number