public method SectionBuilder.SetSize

Brief

Sets a custom paper size for the section pages.

Declaration
C#
Gehtsoft.PDFFlow.Builder.SectionBuilder  SetSize (Gehtsoft.PDFFlow.Models.Shared.XSize size)

Parameters
size

The paper width and height in points.

Details

Example:

   float width = 400, height = 800;
   var section = SectionBuilder.New().SetSize(new XSize(width, height)).Build();

Declared in SectionBuilder

back