Click or drag to resize

PrintingDevice.PaperSize Property (Typed)

X#
Specifies the size of the paper to print on.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL PROPERTY PaperSize AS LONG GET SET 
Request Example View Source

Property Value

Type: Long
Specifies the size of the paper to print on.
Remarks
Specifies the size of the paper to print on. This member may be set to zero if the length and width of the paper are specified by the members of the DevMode structure, PaperLength and PaperWidth, respectively. Otherwise, the dmPaperSize member can be set to one of the following predefined values: Value Desription DMPAPER_FIRST DMPAPER_LETTER DMPAPER_LETTER Letter, 8 1/2 x 11 in. DMPAPER_LETTERSMALL Letter Small, 8 1/2 x 11 in. DMPAPER_TABLOID Tabloid, 11 x 17 in. DMPAPER_LEDGER Ledger, 17 x 11 in. DMPAPER_LEGAL Legal, 8 1/2 x 14 in. DMPAPER_STATEMENT Statement, 5 1/2 x 8 1/2 in. DMPAPER_EXECUTIVE Executive, 7 1/2 x 10 1/2 in. DMPAPER_A3 A3, 297 x 420 mm DMPAPER_A4 A4, 210 x 297 mm DMPAPER_A4SMALL A4 Small, 210 x 297 mm DMPAPER_A5 A5, 148 x 210 mm DMPAPER_B4 B4, 250 x 354 mm DMPAPER_B5 B5, 182 x 257 mm DMPAPER_FOLIO Folio, 8 1/2 x 13 in. DMPAPER_QUARTO Quarto, 215 x 275 mm DMPAPER_10X14 10 x 14 in. DMPAPER_11X17 11 x 17 in. DMPAPER_NOTE Note, 8 1/2 x 11 in. DMPAPER_ENV_9 Envelope #9, 3 7/8 x 87/8in. DMPAPER_ENV_10 Envelope #10, 4 1/8 x 91/2in. DMPAPER_ENV_11 Envelope #11, 4 1/2 x 103/8in. DMPAPER_ENV_12 Envelope #12, 4 1/2 x 11 in. DMPAPER_ENV_14 Envelope #14, 5 x 11 1/2 in. DMPAPER_CSHEET C size sheet DMPAPER_DSHEET D size sheet DMPAPER_ESHEET E size sheet DMPAPER_ENV_DL Envelope DL, 110 x 220 mm DMPAPER_ENV_C3 Envelope C3, 324 x 458 mm DMPAPER_ENV_C4 Envelope C4, 229 x 324 mm DMPAPER_ENV_C5 Envelope C5, 162 x 229 mm DMPAPER_ENV_C6 Envelope C6, 114 x 162 mm DMPAPER_ENV_C65 Envelope C65, 114 x 229 mm DMPAPER_ENV_B4 Envelope B4, 250 x 353 mm DMPAPER_ENV_B5 Envelope B5, 176 x 250 mm DMPAPER_ENV_B6 Envelope B6, 176 x 125 mm DMPAPER_ENV_ITALY Envelope, 110 x 230 mm DMPAPER_ENV_MONARCH Envelope Monarch, 3 7/8 x 71/2 in. DMPAPER_ENV_PERSONAL Envelope, 3 5/8 x 6 1/2 in. DMPAPER_FANFOLD_US U.S. Standard Fanfold, 147/8 x 11 in. DMPAPER_FANFOLD_STD_GERMAN German Standard Fanfold, 81/2 x 12 in. DMPAPER_FANFOLD_LGL_GERMAN German Legal Fanfold, 81/2 x 13 in. DMPAPER_LAST German Legal Fanfold, 81/2 x 13 in. DMPAPER_USER User-defined
See Also