public final class MediaFeature extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ASPECT_RATIO
Value: Media: visual, tactile Accepts min/max prefixes: yes Describes the aspect ratio of the targeted display area of the output device. |
static String |
COLOR
Value: Media: visual Accepts min/max prefixes: yes Indicates the number of bits per color component of the output device. |
static String |
COLOR_INDEX
Value: Media: visual Accepts min/max prefixes: yes Indicates the number of entries in the color look-up table for the output device. |
static String |
GRID
Value: Media: all Accepts min/max prefixes: no Determines whether the output device is a grid device or a bitmap device. |
static String |
HEIGHT
Value: Media: visual, tactile Accepts min/max prefixes: yes The height media feature describes the height of the output device's rendering surface (such as the height of the viewport or of the page box on a printer). |
static String |
MONOCHROME
Value: Media: visual Accepts min/max prefixes: yes Indicates the number of bits per pixel on a monochrome (greyscale) device. |
static String |
ORIENTATION
Value: landscape | portrait
Media: visual Accepts min/max prefixes: no Indicates whether the viewport is in landscape (the display is wider than it is tall) or portrait (the display is taller than it is wide) mode. |
static String |
RESOLUTION
Value: Media: bitmap Accepts min/max prefixes: yes Indicates the resolution (pixel density) of the output device. |
static String |
SCAN
Value: progressive | interlace
Media: tv Accepts min/max prefixes: no Describes the scanning process of television output devices. |
static String |
WIDTH
Value: Media: visual, tactile Accepts min/max prefixes: yes The width media feature describes the width of the rendering surface of the output device (such as the width of the document window, or the width of the page box on a printer). |
public static final String COLOR
public static final String COLOR_INDEX
public static final String ASPECT_RATIO
public static final String GRID
public static final String SCAN
public static final String ORIENTATION
public static final String MONOCHROME
public static final String HEIGHT
public static final String RESOLUTION
public static final String WIDTH
Copyright © 1998–2023 iText Group NV. All rights reserved.