Class PaperSize
A named paper size from Word's Size gallery (Layout > Size), portrait: Width is the shorter side. Apply one with SetPaper(PaperSize, PageOrientation).
public sealed class PaperSize
- Inheritance
-
PaperSize
- Inherited Members
Properties
- A3
Gets ISO A3, 297 × 420 mm.
- A4
Gets ISO A4, 210 × 297 mm.
- A5
Gets ISO A5, 148 × 210 mm.
- B5Jis
Gets JIS B5, 182 × 257 mm.
- Executive
Gets Executive, 7.25 × 10.5 in.
- Height
Gets the portrait height.
- Legal
Gets US Legal, 8.5 × 14 in.
- Letter
Gets US Letter, 8.5 × 11 in.
- Name
Gets the size's name as Word shows it (
A4,B5 (JIS)).
- Standard
Gets every named size, in the order Word's Size gallery lists them.
- Statement
Gets Statement, 5.5 × 8.5 in.
- Tabloid
Gets Tabloid, 11 × 17 in.
- Width
Gets the portrait width.
Methods
- Find(string?)
Finds a named size, ignoring case (ordinal).
- Match(Twips, Twips)
Finds the named size of a page, either way round.