Skip to content

Commit

Permalink
Fix A2 and A3 format size (#1186)
Browse files Browse the repository at this point in the history
  • Loading branch information
kblok authored Jun 24, 2019
1 parent 38bf931 commit 6cc5c87
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions lib/PuppeteerSharp/Media/PaperFormat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,52 +36,52 @@ public PaperFormat(decimal width, decimal height)
/// Letter: 8.5 inches x 11 inches.
/// </summary>
public static PaperFormat Letter => new PaperFormat(8.5m, 11);

/// <summary>
/// Legal: 8.5 inches by 14 inches.
/// </summary>
public static PaperFormat Legal => new PaperFormat(8.5m, 14);

/// <summary>
/// Tabloid: 11 inches by 17 inches.
/// </summary>
public static PaperFormat Tabloid => new PaperFormat(11, 17);

/// <summary>
/// Ledger: 17 inches by 11 inches.
/// </summary>
public static PaperFormat Ledger => new PaperFormat(17, 11);

/// <summary>
/// A0: 33.1 inches by 46.8 inches.
/// </summary>
public static PaperFormat A0 => new PaperFormat(33.1m, 46.8m);

/// <summary>
/// A1: 23.4 inches by 33.1 inches
/// </summary>
public static PaperFormat A1 => new PaperFormat(23.4m, 33.1m);

/// <summary>
/// A2: 16.5 inches by 23.4 inches
/// </summary>
public static PaperFormat A2 => new PaperFormat(16.5m, 23.4m);
public static PaperFormat A2 => new PaperFormat(16.54m, 23.4m);

/// <summary>
/// A3: 11.7 inches by 16.5 inches
/// </summary>
public static PaperFormat A3 => new PaperFormat(11.7m, 16.5m);
public static PaperFormat A3 => new PaperFormat(11.7m, 16.54m);

/// <summary>
/// A4: 8.27 inches by 11.7 inches
/// </summary>
public static PaperFormat A4 => new PaperFormat(8.27m, 11.7m);

/// <summary>
/// A5: 5.83 inches by 8.27 inches
/// </summary>
public static PaperFormat A5 => new PaperFormat(5.83m, 8.27m);

/// <summary>
/// A6: 4.13 inches by 5.83 inches
/// </summary>
Expand Down

0 comments on commit 6cc5c87

Please sign in to comment.