LBitmapBase::SetClipSrcRect

#include "ltwrappr.h"

virtual L_INT LBitmapBase::SetClipSrcRect(prcClipSrc)

LPRECT prcClipSrc;

pointer to a RECT structure

Sets the clip source rectangle.

Parameter

Description

prcClipSrc

Pointer to a RECT structure for the new bitmap source clip rectangle.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Use this function to set the clip source rectangle for the class object.

For more information on source rectangles, destination rectangles and clipping rectangles, refer to Setting Rectangles.

This function is not working while being called from the classes LBitmapWindow, LAnimationWindow, or LAnnotationWindow.

Required DLLs and Libraries

LTDIS
LTFIL

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.

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

LEADTOOLS Raster Imaging C++ Class Library Help