#region PDFsharp - A .NET library for processing PDF
//
// Authors:
// Stefan Lange
//
// Copyright (c) 2005-2017 empira Software GmbH, Cologne Area (Germany)
//
// http://www.pdfsharp.com
// http://sourceforge.net/projects/pdfsharp
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
// and/or sell copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included
// in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
#endregion
namespace PdfSharp
{
///
/// Identifies the most popular predefined page sizes.
///
public enum PageSize
{
///
/// The width or height of the page are set manually and override the PageSize property.
///
Undefined = 0,
// ISO formats (link is dead in the meantime)
// see http://www.engineeringtoolbox.com/drawings-paper-sheets-sizes-25_349.html
///
/// Identifies a paper sheet size of 841 mm times 1189 mm or 33.11 inch times 46.81 inch.
///
A0 = 1,
///
/// Identifies a paper sheet size of 594 mm times 841 mm or 23.39 inch times 33.1 inch.
///
A1 = 2,
///
/// Identifies a paper sheet size of 420 mm times 594 mm or 16.54 inch times 23.29 inch.
///
A2 = 3,
///
/// Identifies a paper sheet size of 297 mm times 420 mm or 11.69 inch times 16.54 inch.
///
A3 = 4,
///
/// Identifies a paper sheet size of 210 mm times 297 mm or 8.27 inch times 11.69 inch.
///
A4 = 5,
///
/// Identifies a paper sheet size of 148 mm times 210 mm or 5.83 inch times 8.27 inch.
///
A5 = 6,
///
/// Identifies a paper sheet size of 860 mm times 1220 mm.
///
RA0 = 7,
///
/// Identifies a paper sheet size of 610 mm times 860 mm.
///
RA1 = 8,
///
/// Identifies a paper sheet size of 430 mm times 610 mm.
///
RA2 = 9,
///
/// Identifies a paper sheet size of 305 mm times 430 mm.
///
RA3 = 10,
///
/// Identifies a paper sheet size of 215 mm times 305 mm.
///
RA4 = 11,
///
/// Identifies a paper sheet size of 153 mm times 215 mm.
///
RA5 = 12,
///
/// Identifies a paper sheet size of 1000 mm times 1414 mm or 39.37 inch times 55.67 inch.
///
B0 = 13,
///
/// Identifies a paper sheet size of 707 mm times 1000 mm or 27.83 inch times 39.37 inch.
///
B1 = 14,
///
/// Identifies a paper sheet size of 500 mm times 707 mm or 19.68 inch times 27.83 inch.
///
B2 = 15,
///
/// Identifies a paper sheet size of 353 mm times 500 mm or 13.90 inch times 19.68 inch.
///
B3 = 16,
///
/// Identifies a paper sheet size of 250 mm times 353 mm or 9.84 inch times 13.90 inch.
///
B4 = 17,
///
/// Identifies a paper sheet size of 176 mm times 250 mm or 6.93 inch times 9.84 inch.
///
B5 = 18,
#if true_
///
/// Identifies a paper sheet size of 917 mm times 1297 mm or 36.00 inch times 51.20 inch.
///
C0 = 19,
///
/// Identifies a paper sheet size of 648 mm times 917 mm or 25.60 inch times 36.00 inch.
///
C1 = 20,
///
/// Identifies a paper sheet size of 458 mm times 648 mm or 18.00 inch times 25.60 inch.
///
C2 = 21,
///
/// Identifies a paper sheet size of 324 mm times 458 mm or 12.80 inch times 18.00 inch.
///
C3 = 22,
///
/// Identifies a paper sheet size of 229 mm times 324 mm or 9.00 inch times 12.80 inch.
///
C4 = 23,
///
/// Identifies a paper sheet size of 162 mm times 229 mm or 6.40 inch times 9.0 inch.
///
C5 = 24,
#endif
// Current U.S. loose paper sizes
// see http://www.reference.com/browse/wiki/Paper_size
///
/// Identifies a paper sheet size of 10 inch times 8 inch or 254 mm times 203 mm.
///
Quarto = 100,
///
/// Identifies a paper sheet size of 13 inch times 8 inch or 330 mm times 203 mm.
///
Foolscap = 101,
///
/// Identifies a paper sheet size of 10.5 inch times 7.25 inch or 267 mm times 184 mm.
///
Executive = 102,
///
/// Identifies a paper sheet size of 10.5 inch times 8 inch 267 mm times 203 mm.
///
GovernmentLetter = 103,
///
/// Identifies a paper sheet size of 11 inch times 8.5 inch 279 mm times 216 mm.
///
Letter = 104,
///
/// Identifies a paper sheet size of 14 inch times 8.5 inch 356 mm times 216 mm.
///
Legal = 105,
///
/// Identifies a paper sheet size of 17 inch times 11 inch or 432 mm times 279 mm.
///
Ledger = 106,
///
/// Identifies a paper sheet size of 17 inch times 11 inch or 432 mm times 279 mm.
///
Tabloid = 107,
///
/// Identifies a paper sheet size of 19.25 inch times 15.5 inch 489 mm times 394 mm.
///
Post = 108,
///
/// 20 ×Identifies a paper sheet size of 20 inch times 15 inch or 508 mm times 381 mm.
///
Crown = 109,
///
/// Identifies a paper sheet size of 21 inch times 16.5 inch 533 mm times 419 mm.
///
LargePost = 110,
///
/// Identifies a paper sheet size of 22.5 inch times 17.5 inch 572 mm times 445 mm.
///
Demy = 111,
///
/// Identifies a paper sheet size of 23 inch times 18 inch or 584 mm times 457 mm.
///
Medium = 112,
///
/// Identifies a paper sheet size of 25 inch times 20 inch or 635 mm times 508 mm.
///
Royal = 113,
///
/// Identifies a paper sheet size of 28 inch times 23 inch or 711 mm times 584 mm.
///
Elephant = 114,
///
/// Identifies a paper sheet size of 35 inch times 23.5 inch or 889 mm times 597 mm.
///
DoubleDemy = 115,
///
/// Identifies a paper sheet size of 45 inch times 35 inch 1143 times 889 mm.
///
QuadDemy = 116,
///
/// Identifies a paper sheet size of 8.5 inch times 5.5 inch or 216 mm times 396 mm.
///
STMT = 117,
///
/// Identifies a paper sheet size of 8.5 inch times 13 inch or 216 mm times 330 mm.
///
Folio = 120,
///
/// Identifies a paper sheet size of 5.5 inch times 8.5 inch or 396 mm times 216 mm.
///
Statement = 121,
///
/// Identifies a paper sheet size of 10 inch times 14 inch.
///
Size10x14 = 122,
//A 11 × 8.5 279 × 216
//B 17 × 11 432 × 279
//C 22 × 17 559 × 432
//D 34 × 22 864 × 559
//E 44 × 34 1118 × 864
}
}