#include "ltwrappr.h"
L_INT LBitmapRgn::SetRgnXForm(pXform)
pRGNXFORM pXform; |
the new region transform |
Sets the region transform to be used by the region functions.
Parameter |
Description |
pXform |
The new region transform to be used by the region functions. Pass NULL to use the default region transformation. |
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Before calling this function, you must declare an RGNXFORM structure and set its values, which LEADTOOLS uses to translate between device context coordinates and bitmap coordinates. For details about how the structure works refer to the RGNXFORM structure description. For a description of common usage, refer to Translating Coordinates for a Bitmap Region.
The default settings for the region transform are:
the Scalar fields default to 1.
the Offset fields default to 0.
the View Perspective field defaults to the associated class objects bitmap view perspective.
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. |
Platforms
Win32, x64.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET