TDBEasyPrint Component 


TDBEasyPrint is derived from TEasyPrint and inheritats therefore all methods, properties and events from TEasyPrint. In addition TDBEasyPrint is enlarged with database sensitive methods.
 
 

Methods

 int __fastcall PrintDBGrid (TDBGrid *g);

This method prints the contents of the handed over TDBGrid object.
In case of failure either ERR_USER_ABORT  (-1) or ERR_NO_DATASET  (-2) is returned. In case of success" TRUE" is returned..
 

int __fastcall PrintDataSet (TDataSet *ds);

This method prints all fields and all rows of the handed over TDataSet object (or a derived object).
In case of failure either ERR_USER_ABORT  (-1) or ERR_NO_DATASET  (-2) is returned. In case of success "TRUE" is returned.