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
| Name | Type | Access | Description |
|---|---|---|---|
Width | float64 | Read/Write | Gets the width. |
Height | float64 | Read/Write | Gets the height. |
Methods
| Signature | Description |
|---|---|
Landscape() → PageFormat | Landscape returns the format with width and height swapped. |