ImageGear Professional DLL v17.1 for Windows Accusoft
IG_PDE_path_add_segment
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_PATH > IG_PDE_path_add_segment

Glossary Item Box

Adds a segment to a path.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_path_add_segment(
        HIG_PDE_PATH hPath,
        LONG nSegType, 
        AT_PDF_FIXED x1, 
        AT_PDF_FIXED y1,
        AT_PDF_FIXED x2, 
        AT_PDF_FIXED y2, 
        AT_PDF_FIXED x3, 
        AT_PDF_FIXED y3 );

Arguments:

hPath The path to which a segment is added.
nSegType A enumIGPDEPathElementType 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:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

The number of AT_PDF_FIXED values used depends upon nSegType:

©2012. Accusoft Corporation. All Rights Reserved.