TSRichViewEdit.DrawPage |
Top Previous Next |
|
Draws the PageNo-th page onto the specified canvas. procedure DrawPage(PageNo, PageWd, PageHt, OffX, OffY: Integer; CanvasPage: TCanvas; PageNoVisible, ClipMargins, Printing : Boolean); PageNo – index of page, from 1. CanvasPage – a canvas where to draw. Bounds(OffX, OffY, PageWd, PageHt) defines a rectangle on CanvasPage where the page will be drawn. Page image will be scaled to PageWd x PageHt. PageNoVisible specifies whether to print page numbers (see the properties of PageProperty). ClipMargins specifies whether all drawing outside the document area (i.e. drawing on margins) will be cropped. Printing specifies whether this is a drawing for printing (a special method for drawing pictures is used in this case). See also: |