TSRichViewEdit.DrawMetafile

Top  Previous  Next

Paints the specified page in the metafile.

procedure DrawMetafile(PageNo : Integer; PicturePage : TMetafile; 

  PageNoVisible, ClipMargins, Printing : Boolean);

PageNo – index of page, from 1.

PicturePage – a metafile to draw. Page image will be scaled to PicturePage.Width x PicturePage.Height.

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:

DrawPage

OnDrawHyperlink


ScaleRichView © trichview.com