ImageGear Professional DLL v17.1 for Windows Accusoft
IG_ARTX_protractor_create
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > ArtX Component API Reference > ArtX Component Objects Reference > HIG_ARTX_PROTRACTOR > IG_ARTX_protractor_create

Glossary Item Box

This function creates a new instance of protractor annotation (IG_ARTX_MARK_PROTRACTOR).

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_protractor_create(
        LPAT_POINT lpPoints,
        LPAT_ARTX_BORDER pLine,
        LPAT_ARTX_ASPECTRATIO lpAspectRatio,
        AT_INT nArcRadius,
        AT_INT nPrecision,
        LPAT_ARTX_FONT lpFont,
        AT_INT nOpacity,
        LPHIG_ARTX_PROTRACTOR lphMark
);

Arguments:

lpPoints Array of annotation points. Protractor consists of 3 points and lpPoints should contain 3 AT_POINT elements.
pLine Attributes of line used to draw annotation.
lpAspectRatio Structure with protractor aspect ratio attributes.
nArcRadius Specifies radius of protractor arc.
nPrecision Specifies precision of protractor measurement output.
lpFont Attributes of font to be used for protractor label drawing.
nOpacity Annotation opacity value.
lphMark Pointer to storage for new annotation handle.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

©2012. Accusoft Corporation. All Rights Reserved.