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

IAnalogPen.LineInterpolation [Property][Get/Set]

Gets or sets the drawing style used for drawing the connecting lines between points for this analog pen.

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 pen is deleted the return value will be GeneralFailure.

Remarks

The LineInterpolation mode dictates how the two points of a line are joined when drawn. If Stepped, there will be two lines joining each point, one horizontal and one vertical. If Straight, only one line is used to directly connect the two points.

See Also

LineType [Enumeration]

Calling Syntax

This example assumes there is a valid Analog Pen object to be passed into the example methods.

[VBA]

Sub Example(analogPen As Object)
Dim lineInterpolation As Long
`Getting Property value
lineInterpolation = analogPen.LineInterpolation
`Setting Property value
analogPen.LineInterpolation = 1
End Sub

[Cicode]

FUNCTION Example(OBJECT hAnalogPen)
// Getting property value
INT nInterpolation = _ObjectGetProperty(hAnalogPen, "LineInterpolation");
// Setting property value
_ObjectSetProperty(hAnalogPen, "LineInterpolation", 1);
END