PageFormat

Overview

PageFormat is a type in Aspose.PDF FOSS for Go.

PageFormat describes a page size in points (1/72 inch).

This type provides 1 method for working with PageFormat objects in Go programs. Available methods include: Landscape. All public members are accessible to any Go application after installing the Aspose.PDF FOSS for Go package. Properties: Height, Width.

Properties

NameTypeAccessDescription
Widthfloat64Read/WriteGets the width.
Heightfloat64Read/WriteGets the height.

Methods

SignatureDescription
Landscape()PageFormatLandscape returns the format with width and height swapped.

See Also