Using the Process Analyst > Process Analyst for Developers > Automation Model > ITrendCursor.Width [Property][Get/Set]

ITrendCursor.Width [Property][Get/Set]

Gets or Sets the line width of the cursor.

Defined As

Execution Result

If the property get/set succeeds the return value will be Success. If the return variable is bad then the return value will be InvalidArgument. If the cursor is deleted the return value will be GeneralFailure.

Limits

Calling Syntax

This example assumes you have a valid reference to a cursor.

[VBA]

Sub Example(cursor As Object)
Dim lineWidth As Long
`Getting Property value
lineWidth = cursor.Width
`Setting Property value
cursor.Width = 5
End Sub

[Cicode]

FUNCTION Example(OBJECT hCursor)
INT lineWidth;
// Getting current property value
lineWidth = _ObjectGetProperty(hCursor, "Width");
// Setting Property to 5
_ObjectSetProperty(hCursor, "Width", 5);
END