ImageGear Professional DLL v18.1 for Windows
IG_REC_slope_get
Send Feedback
ImageGear Professional v18.1 > 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:

Name Type Description
pSlope LPAT_INT 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.

Example:

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

Remarks:

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

©2014. Accusoft Corporation. All Rights Reserved.