EControl Syntax Editor SDK
TecCustomPrinter.PrintPageRect Method

Prints page contents without footer and header.

procedure PrintPageRect(Canvas: TCanvas; Page: integer; const PrintRect: TRect; const Fields: TRect); virtual; abstract;

Canvas specifies printing Canvas. 

Page specifies page number (starting from 1). 

PrintRect specifies printable area without header and footer. 

Fields specifies sizes of fields (in this method only Left and Right fields may be used). 

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!