LBitmap::ExpandPage

#include "ltwrappr.h"

virtual L_INT LBitmap::ExpandPage()

Detects the boundaries of the document's content and expands it to fill the entire page space.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Expands page's content with maintaining the aspect ratio of the original size.

Converts input image to 1-bit image.

This function can only process entire images. It does not support regions.

This function supports 24 and 36-bit color images and 8 grayscale images.

Required DLLs and Libraries

LTDIS
LTFIL
LTIMGCOR

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64.

See Also

Functions:

LBitmap::AutoPageSplitter, Class Members

Example

For an example, refer to LBitmap::AutoPageSplitter.

Help Version 20.0.2019.3.12
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help