HtmlMediaType
Contents
[
Hide
]Inheritance: java.lang.Object, java.lang.Enum < HtmlMediaType > com.aspose.pdf.HtmlMediaType, java.lang.Enum < HtmlMediaType >, com.aspose.pdf.HtmlMediaType
All Implemented Interfaces: Serializable, Comparable < HtmlMediaType >
public enum HtmlMediaType extends Enum < HtmlMediaType >
Specifies possible media types used during rendering.
Fields
| Field | Description |
|---|---|
| Print. | |
| Screen | Screen. |
Methods
| Method | Description |
|---|---|
| getByValue | |
| getValue | |
| valueOf | Returns the enum constant of this type with the specified name. |
| values | Returns an array containing the constants of this enum type, in the order they are declared. |
public static final HtmlMediaType Print
Print.
Screen
public static final HtmlMediaType Screen
Screen.
getByValue
public static HtmlMediaType getByValue(int value)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value |
getValue
public int getValue()
valueOf
Returns the enum constant of this type with the specified name.
values
public static HtmlMediaType [] values()
Returns an array containing the constants of this enum type, in the order they are declared.
Returns: an array containing the constants of this enum type, in the order they are declared