PageResizeMode

PageResizeMode class

Specifies how content should be scaled when page size is changed

public sealed class PageResizeMode : Enumeration

Methods

Name Description
CompareTo(object) Compares current object to other.
virtual Equals(Enumeration) Determines whether two object instances are equal.
override Equals(object) Determines whether two object instances are equal.
override GetHashCode() Serves as the default hash function.
override ToString() Returns a string that represents the current object.

Fields

Name Description
static AlignTopLeft No scaling applied. Content is aligned to top-left corner.
static ScaleToFill Stretch content to fill entire page. May distort aspect ratio.
static ScaleToFit Scale content proportionally to fit entire page without overflow. May result in white space.
static ScaleToHeight Scale content proportionally to match page height. Width may overflow and be cropped.
static ScaleToWidth Scale content proportionally to match page width. Height may overflow and be cropped.

See Also