TSRVPrint.PrintMode

Top  Previous  Next

Specifies how the document from SRichViewEdit will be printed.

type

  TSRVPrintMode = (srvpAuto, srvpStretchToFit, srvpStretchIfLarger, srvpTiles, 

    srvpPoster, srvpGrid);

 

property PrintMode: TSRVPrintMode;

Value

Meaning

srvpAuto

A printer paper size and orientation are set automatically; if the printer supports the page size specified for the document, it is used (orientation is set automatically too). If the printer does not support the document page size, this mode works like srvpStretchIfLarger mode.

srvpStretchToFit

The current printer paper size and orientation are used; on printing, the document is stretched proportionally to fit the page size and the orientation chosen for the printer.

srvpStretchIfLarger

This mode is like srvpStretchToFit if the document page size is larger than the printer paper size. Otherwise, the document is printed at the top left corner of paper sheet.

srvpTiles

The current printer paper size and orientation are used. If possible, prints several copies of the document page on the same paper sheet; for example, if the document page size is A6, and the printer page size is A4, it prints 4 copies (if orientations are the same). Otherwise, it works like srvpStretchIfLarger.

srvpPoster

Allows printing posters (one page on several paper sheets).

It's recommended to assign UsePhysicalOffsets=False in this mode.

srvpGrid

The current printer paper size and orientation are used.

PageRowCount x PageColCount document pages are printed on each paper sheet as a grid. These pages are scaled proportionally to fit; unlike srvpTiles mode, these pages are not copies of the same page.

Default value:

srvpPoster


ScaleRichView © trichview.com