L_ExpandPage

#include "Ltimgcor.h"

L_LTIMGCOR_API L_INT L_ExpandPage(pBitmap)

pBITMAPHANDLE pBitmap;

pointer to the bitmap handle

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

Parameter

Description

pBitmap

Pointer to the bitmap handle referencing the bitmap to be expanded.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Expands a page's content while 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

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, Linux

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C API Help