PageScaling.PageScalingOption

Inheritance: java.lang.Object, com.aspose.xps.metadata.PrintTicketElement, com.aspose.xps.metadata.CompositePrintTicketElement, com.aspose.xps.metadata.Option

All Implemented Interfaces: com.aspose.xps.metadata.PageScaling.IPageScalingItem

public static final class PageScaling.PageScalingOption extends Option implements PageScaling.IPageScalingItem

Describes the PageScaling features options.

Fields

FieldDescription
CustomSpecifies a custom scaling should be applied to the Application Media Size.
CustomSquareSpecifies a custom square scaling should be applied to the Application Media Size.
FitApplicationBleedSizeToPageImageableSizeSpecifies the application bleed size should be scaled to the PageImageableSize preserving the aspect ratio.
FitApplicationContentSizeToPageImageableSizeSpecifies the application content size should be scaled to the PageImageableSize preserving the aspect ratio.
FitApplicationMediaSizeToPageImageableSizeSpecifies the application media size should be scaled to the PageImageableSize preserving the aspect ratio.
FitApplicationMediaSizeToPageMediaSizeSpecifies the application media size should be scaled to the PageMediaSize preserving the aspect ratio.
NoneSpecifies that no scaling should be applied.

Custom

public static PageScaling.PageScalingOption Custom

Specifies a custom scaling should be applied to the Application Media Size.

CustomSquare

public static PageScaling.PageScalingOption CustomSquare

Specifies a custom square scaling should be applied to the Application Media Size.

FitApplicationBleedSizeToPageImageableSize

public static PageScaling.PageScalingOption FitApplicationBleedSizeToPageImageableSize

Specifies the application bleed size should be scaled to the PageImageableSize preserving the aspect ratio.

FitApplicationContentSizeToPageImageableSize

public static PageScaling.PageScalingOption FitApplicationContentSizeToPageImageableSize

Specifies the application content size should be scaled to the PageImageableSize preserving the aspect ratio.

FitApplicationMediaSizeToPageImageableSize

public static PageScaling.PageScalingOption FitApplicationMediaSizeToPageImageableSize

Specifies the application media size should be scaled to the PageImageableSize preserving the aspect ratio.

FitApplicationMediaSizeToPageMediaSize

public static PageScaling.PageScalingOption FitApplicationMediaSizeToPageMediaSize

Specifies the application media size should be scaled to the PageMediaSize preserving the aspect ratio.

None

public static PageScaling.PageScalingOption None

Specifies that no scaling should be applied.