Top Description Fields Constructors Methods
org.apache.pdfbox.printing

public final Enum Scaling

extends Enum<Scaling>
Class Inheritance

Scale of the image on printed pages.
Author
John Hewson

Field Summary

Modifier and TypeField and Description
public static final Scaling
ACTUAL_SIZE

Print the image at 100% scale.

public static final Scaling
SCALE_TO_FIT

Stretch or shrink the image to fill the page, as needed.

public static final Scaling
SHRINK_TO_FIT

Shrink the image to fit the page, if needed.

public static final Scaling
STRETCH_TO_FIT

Stretch the image to fill the page, if needed.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Scaling
public static Scaling[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

ACTUAL_SIZEback to summary
public static final Scaling ACTUAL_SIZE

Print the image at 100% scale.

SCALE_TO_FITback to summary
public static final Scaling SCALE_TO_FIT

Stretch or shrink the image to fill the page, as needed.

SHRINK_TO_FITback to summary
public static final Scaling SHRINK_TO_FIT

Shrink the image to fit the page, if needed.

STRETCH_TO_FITback to summary
public static final Scaling STRETCH_TO_FIT

Stretch the image to fill the page, if needed.

Constructor Detail

Scalingback to summary
private Scaling()

Method Detail

valueOfback to summary
public static Scaling valueOf(String name)
valuesback to summary
public static Scaling[] values()