This function can be used to change the type of line drawn for each of the quality states defined by the Process Analyst for this Pen only.
which quality type you want to set the visual cue for.
which line style visual cue to use for the selected quality
If the function succeeds the return value will be Success. If an argument is bad then the return value will be InvalidArgument. If an argument is out of range then the return value will be InvalidArgument. If the pen is deleted then the return value will be GeneralFailure.
When a sample is added to the display, its quality value indicates how the line drawn from that sample to the next one will be displayed.
QualityType [Enumeration], LineStyle [Enumeration]
Assumes you have passed a valid pen object into the function.
Sub Example(pen As Object)
` Set lines drawn after NA samples to be drawn as dash_dot
pen.SetQualityLineStyle 1, 3
FUNCTION Example(OBJECT hPen)
// Set lines drawn after NA samples to be drawn as dash_dot
_ObjectCallMethod(hPen, "SetQualityLineStyle", 1, 3);