static public method PredefinedSizeBuilder.SwapWidthAndHeightByOrientation

Brief

Swaps the page width and height if needed, depending on the page orientation.

Declaration
C#
Gehtsoft.PDFFlow.Models.Shared.XSize  SwapWidthAndHeightByOrientation (Gehtsoft.PDFFlow.Models.Shared.XSize size, Gehtsoft.PDFFlow.Models.Enumerations.PageOrientation orientation)

Parameters
size

The page size in points.

orientation

The page orientation.

Declared in PredefinedSizeBuilder

back