LPrint::LPrint

Summary

Constructs and initializes the different member variables of the LPrint object.

Syntax

#include "ltwrappr.h"

LPrint::LPrint()

LPrint::LPrint(pLBitmap)

Parameters

LBitmapBase * 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

See Also

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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.