LPrint::LPrint

#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.

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:

LPrint::~LPrint, Class Members

Example

// 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 scope 
    LPrint 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; 
} 
Help Version 20.0.2020.4.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help