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

IPen.PointsVisible [Property][Get/Set]

Gets or Sets whether the sample points are displayed or hidden on the pen.

Defined As

Execution Results

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



By default this property is False, meaning that any point type you have set using the SetQualityCompactionPointType function will be hidden.

See Also

IPen.SetQualityCompactionPointType [Method]

Calling Syntax

Assumes you have passed a valid pen object into the function.


Sub Example(pen As Object)
Dim visible As Boolean
`Getting Property value
visible = pen.PointsVisible
`Setting Property value
pen.PointsVisible = True
End Sub


INT visible;
// Getting current property value
visible = _ObjectGetProperty(hPen, "PointsVisible");
// Setting Property value
_ObjectSetProperty(hPen, "PointsVisible", -1);