DrawLineTo
IPDFDocument4 :: Page Operations :: Graphics

See Also
Collapse All

This method creates a line path.

Syntax

HRESULT DrawLineTo (
FLOAT x,
FLOAT y
)
Parameters
x
X coordinate of the ending point

y
Y coordinate of the ending point

Return value
If successful, this method returns S_OK. If it fails, this method should return one of the error values.

Remarks

This method adds a line segment to the path, starting at the current point and ending at point (x, y). The current point moves to the end.

See theĀ ClosePath method for examples.

See Also

Reference