#include "ltwrappr.h"
LPrint::LPrint()
LPrint::LPrint(pLBitmap)
LBitmapBase * pLBitmap; |
pointer to a bitmap object |
Constructs and initializes the different member variables of the LPrint object.
Parameter |
Description |
pLBitmap |
Pointer to a bitmap object. |
None
LPrint::LPrint() is a constructor for the LPrint class.
LPrint::LPrint(pLBitmap) initializes the LEAD print object with a pointer to a bitmap object.
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. |
Functions: |
#define MAKE_IMAGE_PATH(pFileName) TEXT("C:\\Users\\Public\\Documents\\LEADTOOLS Images\\")pFileName// This is an example for LPrint::LPrint():L_INT LPrint__LPrintExample_1(){// this will call the default constructor and destructor when it is out of scopeLPrint MyPrint;//...return SUCCESS;}// This is an example for LPrint::LPrint(pLBitmap):L_INT LPrint__LPrintExample_2(){L_INT nRet;LBitmapBase LeadBitmap;nRet = LeadBitmap.Load(MAKE_IMAGE_PATH(TEXT("image1.cmp"))) ;if(nRet != SUCCESS)return nRet;LPrint MyPrint(&LeadBitmap) ;//...return SUCCESS;}
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
