PageSize
Contents
[
Hide
]
Inheritance: java.lang.Object, java.lang.Enum
All Implemented Interfaces: com.groupdocs.conversion.options.convert.IPageSize
public enum PageSize extends Enum<PageSize> implements IPageSize
Fields
Field | Description |
---|---|
A3 | |
A4 | |
A5 | |
B4 | |
B5 | |
CUSTOM | |
ENVELOPE_DL | |
EXECUTIVE | |
FOLIO | |
LEDGER | |
LEGAL | |
LETTER | |
PAPER_10_X_14 | |
PAPER_11_X_17 | |
QUARTO | |
STATEMENT | |
TABLOID | |
UNSET |
Methods
A3
public static final PageSize A3
A4
public static final PageSize A4
A5
public static final PageSize A5
B4
public static final PageSize B4
B5
public static final PageSize B5
CUSTOM
public static final PageSize CUSTOM
ENVELOPE_DL
public static final PageSize ENVELOPE_DL
EXECUTIVE
public static final PageSize EXECUTIVE
FOLIO
public static final PageSize FOLIO
LEDGER
public static final PageSize LEDGER
LEGAL
public static final PageSize LEGAL
LETTER
public static final PageSize LETTER
PAPER_10_X_14
public static final PageSize PAPER_10_X_14
PAPER_11_X_17
public static final PageSize PAPER_11_X_17
QUARTO
public static final PageSize QUARTO
STATEMENT
public static final PageSize STATEMENT
TABLOID
public static final PageSize TABLOID
UNSET
public static final PageSize UNSET
values()
public static PageSize[] values()
Returns: com.groupdocs.conversion.options.convert.PageSize[]
valueOf(String name)
public static PageSize valueOf(String name)
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String |
Returns: PageSize
createCustom(float width, float height)
public static PageSize.PageSizeCustom createCustom(float width, float height)
Parameters:
Parameter | Type | Description |
---|---|---|
width | float | |
height | float |
Returns: PageSizeCustom
getKey()
public String getKey()
Returns: java.lang.String
getName()
public String getName()
Returns: java.lang.String
getWidth()
public float getWidth()
Returns: float
getHeight()
public float getHeight()
Returns: float
pointsToPixels(float points, int dpi)
public static int pointsToPixels(float points, int dpi)
Parameters:
Parameter | Type | Description |
---|---|---|
points | float | |
dpi | int |
Returns: int
pixelsToPoints(int pixels, int dpi)
public static float pixelsToPoints(int pixels, int dpi)
Parameters:
Parameter | Type | Description |
---|---|---|
pixels | int | |
dpi | int |
Returns: float