Struct PageSize
- Namespace
- DocWright.Composition
- Assembly
- DocWright.Composition.dll
A page size in twips, in portrait orientation unless Landscape() has been applied.
public readonly struct PageSize : IEquatable<PageSize>
- Implements
- Inherited Members
Constructors
- PageSize(Twips, Twips)
Initializes a page size.
Properties
- Height
Gets the page height.
- Width
Gets the page width.
Methods
- Landscape()
Returns this size with width and height swapped, which is how Word models a landscape page.
Operators
- operator ==(PageSize, PageSize)
Compares two page sizes for equality.
- operator !=(PageSize, PageSize)
Compares two page sizes for inequality.