Method WithOrientation

Namespace
SoftZenPdf
Assembly
SoftZenPdf.dll

WithOrientation(PageOrientation)

Returns this size in the given orientation, swapping width and height if needed.

public PageSize WithOrientation(PageOrientation orientation)

Parameters

orientation PageOrientation

The wanted orientation.

Returns

PageSize