IPen.SetQualityCompactionPointType [Method]
- Last UpdatedJul 18, 2023
- 1 minute read
Use this function to indicate what visual cue to display for single and multiple samples.
Defined As
-
[VBA] SetQualityCompactionPointType(compactionType As Integer, pointType As Integer)
-
[Cicode] SetQualityCompactionPointType(INT compactionType, INT pointType)
-
[C++] HRESULT SetQualityCompactionPointType(QualityCompactionType compactionType, PointType pointType)
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.
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