TSRVPrint.PaperCodeToPageFormat

<< Click to display table of contents >>

TSRVPrint.PaperCodeToPageFormat

This method converts DMPAPER_*** values (defined in the Printers unit) to TSRVPageFormat values.

function PaperCodeToPageFormat(PaperSizeCode: Integer): TSRVPageFormat;

PaperSizeCode must be one of constants like DMPAPER_A2, DMPAPER_A3, DMPAPER_A4, etc.