LBitmapBase::SetSrcRect

Summary

Sets the source rectangle for the class object.

Syntax

#include "ltwrappr.h"

virtual L_INT LBitmapBase::SetSrcRect(prcSrc)

Parameters

LPRECT prcSrc

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

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

Use this function to set the 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:

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LBitmapBase::GetRects.

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

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.