ViewWindow.SetLineWidth(Variable, String, Variable, Variable) Method

Top 

Description

Sets the width in used to draw lines for multiple objects at the same time. If the objects have their own Line width property, this method has no effect. For GraphicsOverlays, use GraphicsOverlayShape.LineWidth instead.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Method Signature

ViewWindow.SetLineWidth(

Variable setType,


String typeOrGroupName,


Variable units,


Variable lineWidth)

 

 

Arguments

setType


Description:

The method used to determine which objects to change the line width.

Valid Values:

Value

Label

0

Set by Object Type (Case-Sensitive)

1

Set by Group Name (Case-Sensitive)

 

 

 

typeOrGroupName


Description:

The object type or group name used to set the change the line width of multiple objects.

 

 

units


Description:

Sets the units to either relative window size or pixels.

Valid Values:

Value

Label

0

Relative

1

Pixels

 

 

 

lineWidth


Description:

Width of lines used in drawing the specified object.

Valid Range:

lineWidth > 0

 

 

 

Syntax

myViewWindow1.SetLineWidth(myVariable1, myString1, myVariable2, myVariable3);

 

 

See also

ViewWindow Object

ViewWindow.SetLineWidth

ViewWindow Guide