Using the Process Analyst > Process Analyst for Developers > Automation Model > IPen.SetQualityCompactionPointType [Method]

IPen.SetQualityCompactionPointType [Method]

Use this function to indicate what visual cue to display for single and multiple samples.

Defined As

Parameters

compactionType

[in] Indicates which sample compaction type you want to set the visual cue for.

pointType

[in] Indicates which visual cue to use for the selected compaction type.

Execution Result

If the function succeeds the return value will be Success. If an argument is bad, the return value will be InvalidArgument. If an argument is out of range, the return value will be InvalidArgument. If the pen is deleted, the return value will be GeneralFailure.

See Also

QualityCompactionType [Enumeration], PointType [Enumeration]

Calling Syntax

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

[VBA]

Sub Example(pen As Object)
` Set single samples to lsook like triangles
pen.SetQualityCompactionPointType 0, 5
End Sub

[Cicode]

FUNCTION Example(OBJECT hPen)
// Set single samples to look like triangles
_ObjectCallMethod(hPen, "SetQualityCompactionPointType", 0, 5);
END