HotXLS dokumentacija

PaperSize ypatybė

Grąžina or sets the size of the paper. Read/write LongWord

Sintaksė

property PaperSize: LongWord;

Aprašymas

PaperSize can be one of these XlPaperSize constants
xlPaper11x17 11 in. x 17 in
xlPaperA4 A4 (210 mm x 297 mm)
xlPaperA5 A5 (148 mm x 210 mm)
xlPaperB5 A5 (148 mm x 210 mm)
xlPaperDsheet D size sheet
xlPaperEnvelope11 Envelope #11 (4-1/2 in. x 10-3/8 in.)
xlPaperEnvelope14 Envelope #14 (5 in. x 11-1/2 in.)
xlPaperEnvelopeB4 Envelope B4 (250 mm x 353 mm)
xlPaperEnvelopeB6 Envelope B6 (176 mm x 125 mm)
xlPaperEnvelopeC4 Envelope C4 (229 mm x 324 mm)
xlPaperEnvelopeC6 Envelope C6 (114 mm x 162 mm)
xlPaperEnvelopeDL Envelope DL (110 mm x 220 mm)
xlPaperEnvelopeMonarch Envelope Monarch (3-7/8 in. x 7-1/2 in.)
xlPaperEsheet E size sheet
xlPaperFanfoldLegalGerman Folio (8-1/2 in. x 13 in.)
xlPaperFanfoldUS U.S. Standard Fanfold (14-7/8 in. x 11 in.)
xlPaperLedger Ledger (17 in. x 11 in.)
xlPaperLetter Note (8-1/2 in. x 11 in.)
Note (8-1/2 in. x 11 in.) Statement (5-1/2 in. x 8-1/2 in.)
Statement (5-1/2 in. x 8-1/2 in.) User-defined
User-defined 10 in. x 14 in
10 in. x 14 in A3 (297 mm x 420 mm)
A3 (297 mm x 420 mm) A4 Small (210 mm x 297 mm)
A4 Small (210 mm x 297 mm) B4 (250 mm x 354 mm)
B4 (250 mm x 354 mm) xlPaperEnvelope10
xlPaperEnvelope10 xlPaperEnvelope10
Envelope #10 (4-1/8 in. x 9-1/2 in.) Envelope #12 (4-1/2 in. x 11 in.)
Envelope #12 (4-1/2 in. x 11 in.) Envelope #9 (3-7/8 in. x 8-7/8 in.)
Envelope #9 (3-7/8 in. x 8-7/8 in.) Envelope B5 (176 mm x 250 mm)
Envelope B5 (176 mm x 250 mm) Envelope C3 (324 mm x 458 mm)
Envelope C3 (324 mm x 458 mm) Envelope C5 (162 mm x 229 mm)
Envelope C5 (162 mm x 229 mm) Envelope C65 (114 mm x 229 mm)
Envelope C65 (114 mm x 229 mm) Envelope (110 mm x 230 mm)
Envelope (110 mm x 230 mm) Envelope (3-5/8 in. x 6-1/2 in.)
Envelope (3-5/8 in. x 6-1/2 in.) Executive (7-1/2 in. x 10-1/2 in.)
Executive (7-1/2 in. x 10-1/2 in.) German Legal Fanfold (8-1/2 in. x 13 in.)
German Legal Fanfold (8-1/2 in. x 13 in.) Folio (8-1/2 in. x 13 in.)
Folio (8-1/2 in. x 13 in.) Legal (8-1/2 in. x 14 in.)
Legal (8-1/2 in. x 14 in.) Letter Small (8-1/2 in. x 11 in.)
Letter Small (8-1/2 in. x 11 in.) Quarto (215 mm x 275 mm)
Quarto (215 mm x 275 mm) Tabloid (11 in. x 17 in.)
Tabloid (11 in. x 17 in.) This example sets the paper size to legal for Worksheet one

This example sets the paper size to legal for Worksheet one

Workbook.Sheets[

Workbook.Sheets[1].PageSetup.PaperSize := xlPaperLegal;