ImageGear for C and C++ on Windows v19.10 - Updated
IG_REC_slope_get
API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Image Processing Functions > IG_REC_slope_get

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.