Description:
Adds a segment to a path. The number of values used depends upon SegType:
- IG_PDE_MOVE_TO: X1, Y1
- IG_PDE_LINE_TO: X1, Y1
- IG_PDE_CURVE_TO: X1, Y1, X2, Y2, X3, Y3
- IG_PDE_CURVE_TO_V: X1, Y1, X2, Y2
- IG_PDE_CURVE_TO_Y: X1, Y1, X2, Y2
- IG_PDE_RECT: X1, Y1, X2 (width), Y2 (height)
- IG_PDE_CLOSE_PATH: None
Syntax:
AddSegment (SegType As enumIGPDEPathElementType, X1 As Long, Y1
As Long, X2 As Long, Y2 As Long, X3 As Long, Y3 As Long)
Parameters:
Name |
Description |
SegType |
A enumIGPDEPathElementType Enumeration value indicating the type of path to add. |
X1 |
x-coordinate of first point. |
Y1 |
y-coordinate of first point. |
X2 |
x-coordinate of second point. |
Y2 |
y-coordinate of second point. |
X3 |
x-coordinate of third point. |
Y3 |
y-coordinate of third point. |
Return Value:
IGPDFStream Object