LPrint::LPrint
#include "ltwrappr.h"
LPrint::LPrint(void)
LPrint::LPrint(pLBitmap)
LBitmapBase L_FAR * 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. |
Returns
None
Comments
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. |
See Also
Functions: |
Example
This is an example for LPrint::LPrint():
L_VOID TestFunction()
{
// this will call the default constructor and destructor when it is out of scope
LPrint MyPrint;
//…
}
This is an example for LPrint::LPrint(pLBitmap):
L_VOID TestFunction()
{
LBitmapBase LeadBitmap ;
LeadBitmap.Load(TEXT("image1.cmp")) ;
LPrint MyPrint(&LeadBitmap) ;
//…
}