LEADTOOLS Raster Imaging C++ Class Library Help > Classes and Member Functions > LBitmapBase > LBitmapBase Member Functions > LBitmapBase::SetViewPerspective |
#include "ltwrappr.h"
L_VOID LBitmapBase::SetViewPerspective(nViewPerspective)
L_INT nViewPerspective; |
/* the view perspective value */ |
Sets the view perspective value for the bitmap object.
Parameter |
Description |
nViewPerspective |
The view perspective value. Possible values are: |
|
Value |
Meaning |
|
TOP_LEFT |
[0] Top-left of image is first in memory. |
|
BOTTOM_LEFT |
[2] Bottom-left of image is first in memory. |
|
RIGHT_TOP |
[4] (Document/Medical only) First row is the right side, first column is top side. |
|
TOP_LEFT90 |
[4] (Document/Medical only) Same as RIGHT_TOP, which is TOP_LEFT rotated clockwise by 90 degrees. |
|
LEFT_BOTTOM |
[8] (Document/Medical only) First row is the left side, first column is top side. |
|
TOP_LEFT270 |
[8] (Document/Medical only) Same as LEFT_BOTTOM, which is TOP_LEFT rotated clockwise by 270 degrees. |
Returns
None
Required DLLs and Libraries
LTDIS For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Win32, x64.
See Also
Functions: |
Example
L_INT LBitmapBase__SetViewPerspectiveExample(LBitmapBase& Bitmap) { Bitmap.SetViewPerspective(TOP_LEFT); return SUCCESS; }