ImageGear Professional DLL v17.1 for Windows Accusoft
IG_REC_slope_get
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Image Processing Functions > IG_REC_slope_get

Glossary Item Box

Returns the current slope value setting, which was set by a previous IG_REC_slope_set function call.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_slope_get(
   LPAT_INT pSlope
);

Arguments:

pSlope Pointer to a variable to get current slope value.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

To detect the skew of an image containing machine printed text, call the IG_REC_image_skew_detect function.

Example:

  Copy Code
AT_ERRCOUNT ErrCount = 0;
AT_INT nSlope = 0;
ErrCount = IG_REC_slope_get(&nSlope);

©2012. Accusoft Corporation. All Rights Reserved.