trichview.com

trichview.support




Print Error


Return to index


Author

Message

dekavita

Posted: 06/17/2004 8:09:21


When printing a table, in case that a cell is very large, there is a bug for

change page. 

like this source code.


-- C++ Builder 6 and RichView Ver1.8 --


    TRVTableItemInfo* table = new TRVTableItemInfo( 1, 1,

                                       RichView->RVData );

    for( int i = 0; i < 300; i++ ){

        table->Cells[0][0]->AddNLTag( i, 0, 1, 0);

    }

    RichView->AddItem("",table);

    RichView->Format();


    RVPrint->AssignSource( RichView );

    RVPrint->FormatPages( TRVDisplayOptions() );

    RVPrint->Print( Caption, Printer()->Copies, false );





Powered by ABC Amber Outlook Express Converter