Concepts

Page Sizes

Utilize presets for page/paper size when drafting documents.

FluentWriter provides presets for commonly used page/paper sizes. The following code briefly demonstrates how page size is configured in a section while the subsequent tables list the available presets.

using FluentWriter.Common.Helpers;

document.Section(section => 
{    
  section.PageSize(PageSizes.A4);
  section.PageSize(PageSizes.A3);
  section.PageSize(PageSizes.Letter);
  section.PageSize(PageSizes.Legal);
  section.PageSize(PageSizes.Tabloid.Landscape()) // 👈 Setting orientation.
});