public static enum CPDFDocument.PDFDocumentImageMode extends java.lang.Enum<CPDFDocument.PDFDocumentImageMode>
Enum Constant and Description |
---|
PDFDocumentImageModeBottom
Center the content aligned at the bottom in the view’s bounds
|
PDFDocumentImageModeBottomLeft
Align the content in the bottom-left corner of the view
|
PDFDocumentImageModeBottomRight
Align the content in the bottom-right corner of the view
|
PDFDocumentImageModeCenter
Scale the content to fill the size of the view.
|
PDFDocumentImageModeLeft
Align the content on the left of the view
|
PDFDocumentImageModeRight
Align the content on the right of the view
|
PDFDocumentImageModeScaleAspectFill
Scale the content to fit the size of the view by maintaining the aspect ratio
|
PDFDocumentImageModeScaleAspectFit
Scale the content to fit the size of itself by changing the aspect ratio of the content if necessary.
|
PDFDocumentImageModeScaleToFill
Fits the view to screen dimensions so that the full page is visible
|
PDFDocumentImageModeTop
Center the content aligned at the top in the view’s bounds
|
PDFDocumentImageModeTopLeft
Align the content in the top-left corner of the view
|
PDFDocumentImageModeTopRight
Align the content in the top-right corner of the view
|
Modifier and Type | Field and Description |
---|---|
int |
id |
Modifier and Type | Method and Description |
---|---|
static CPDFDocument.PDFDocumentImageMode |
valueOf(int id) |
static CPDFDocument.PDFDocumentImageMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CPDFDocument.PDFDocumentImageMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CPDFDocument.PDFDocumentImageMode PDFDocumentImageModeScaleToFill
public static final CPDFDocument.PDFDocumentImageMode PDFDocumentImageModeScaleAspectFit
public static final CPDFDocument.PDFDocumentImageMode PDFDocumentImageModeScaleAspectFill
public static final CPDFDocument.PDFDocumentImageMode PDFDocumentImageModeCenter
public static final CPDFDocument.PDFDocumentImageMode PDFDocumentImageModeTop
public static final CPDFDocument.PDFDocumentImageMode PDFDocumentImageModeBottom
public static final CPDFDocument.PDFDocumentImageMode PDFDocumentImageModeLeft
public static final CPDFDocument.PDFDocumentImageMode PDFDocumentImageModeRight
public static final CPDFDocument.PDFDocumentImageMode PDFDocumentImageModeTopLeft
public static final CPDFDocument.PDFDocumentImageMode PDFDocumentImageModeTopRight
public static final CPDFDocument.PDFDocumentImageMode PDFDocumentImageModeBottomLeft
public static final CPDFDocument.PDFDocumentImageMode PDFDocumentImageModeBottomRight
public static CPDFDocument.PDFDocumentImageMode[] values()
for (CPDFDocument.PDFDocumentImageMode c : CPDFDocument.PDFDocumentImageMode.values()) System.out.println(c);
public static CPDFDocument.PDFDocumentImageMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static CPDFDocument.PDFDocumentImageMode valueOf(int id)