|
iText 7 7.1.10 API
|
Class that bundles all the values of a media device description. More...
Public Member Functions |
|
| MediaDeviceDescription (String type) | |
| See MediaType class constants for possible values. More... |
|
| MediaDeviceDescription (String type, float width, float height) | |
| Creates a new MediaDeviceDescription instance. More... |
|
| virtual String | GetType () |
| Gets the type. More... |
|
| virtual int | GetBitsPerComponent () |
| Gets the bits per component. More... |
|
| virtual iText.StyledXmlParser.Css.Media.MediaDeviceDescription | SetBitsPerComponent (int bitsPerComponent) |
| Sets the bits per component. More... |
|
| virtual int | GetColorIndex () |
| Gets the color index. More... |
|
| virtual iText.StyledXmlParser.Css.Media.MediaDeviceDescription | SetColorIndex (int colorIndex) |
| Sets the color index. More... |
|
| virtual float | GetWidth () |
| Gets the width in points. More... |
|
| virtual iText.StyledXmlParser.Css.Media.MediaDeviceDescription | SetWidth (float width) |
| Sets the width in points. More... |
|
| virtual float | GetHeight () |
| Gets the height in points. More... |
|
| virtual iText.StyledXmlParser.Css.Media.MediaDeviceDescription | SetHeight (float height) |
| Sets the height in points. More... |
|
| virtual bool | IsGrid () |
| Checks if the media device is a grid. More... |
|
| virtual iText.StyledXmlParser.Css.Media.MediaDeviceDescription | SetGrid (bool grid) |
| Sets the grid value. More... |
|
| virtual String | GetScan () |
| Gets the scan value. More... |
|
| virtual iText.StyledXmlParser.Css.Media.MediaDeviceDescription | SetScan (String scan) |
| Sets the scan value. More... |
|
| virtual String | GetOrientation () |
| Gets the orientation. More... |
|
| virtual iText.StyledXmlParser.Css.Media.MediaDeviceDescription | SetOrientation (String orientation) |
| Sets the orientation. More... |
|
| virtual int | GetMonochrome () |
| Gets the number of bits per pixel on a monochrome (greyscale) device. More... |
|
| virtual iText.StyledXmlParser.Css.Media.MediaDeviceDescription | SetMonochrome (int monochrome) |
| Sets the number of bits per pixel on a monochrome (greyscale) device. More... |
|
| virtual float | GetResolution () |
| Gets the resolution in DPI. More... |
|
| virtual iText.StyledXmlParser.Css.Media.MediaDeviceDescription | SetResolution (float resolution) |
| Sets the resolution in DPI. More... |
|
Static Public Member Functions |
|
| static iText.StyledXmlParser.Css.Media.MediaDeviceDescription | CreateDefault () |
| Creates the default MediaDeviceDescription. More... |
|
| static iText.StyledXmlParser.Css.Media.MediaDeviceDescription | GetDefault () |
| Gets default MediaDeviceDescription instance. More... |
|
Class that bundles all the values of a media device description.
|
inline |
See MediaType class constants for possible values.
| type | a type of the media to use. |
|
inline |
Creates a new MediaDeviceDescription instance.
| type | the type |
| width | the width |
| height | the height |
|
inlinestatic |
Creates the default MediaDeviceDescription.
|
inlinevirtual |
Gets the bits per component.
|
inlinevirtual |
Gets the color index.
|
inlinestatic |
Gets default MediaDeviceDescription instance.
Gets default MediaDeviceDescription instance. Do not modify any fields of the returned media device description because it may lead to unpredictable results. Use CreateDefault() if you want to modify device description.
|
inlinevirtual |
Gets the height in points.
|
inlinevirtual |
Gets the number of bits per pixel on a monochrome (greyscale) device.
|
inlinevirtual |
Gets the orientation.
|
inlinevirtual |
Gets the resolution in DPI.
|
inlinevirtual |
Gets the scan value.
|
inlinevirtual |
Gets the type.
|
inlinevirtual |
Gets the width in points.
|
inlinevirtual |
Checks if the media device is a grid.
|
inlinevirtual |
Sets the bits per component.
| bitsPerComponent | the bits per component |
|
inlinevirtual |
Sets the color index.
| colorIndex | the color index |
|
inlinevirtual |
Sets the grid value.
| grid | the grid value |
|
inlinevirtual |
Sets the height in points.
| height | the height |
|
inlinevirtual |
Sets the number of bits per pixel on a monochrome (greyscale) device.
| monochrome | the number of bits per pixel on a monochrome (greyscale) device |
|
inlinevirtual |
Sets the orientation.
| orientation | the orientation |
|
inlinevirtual |
Sets the resolution in DPI.
| resolution | the resolution |
|
inlinevirtual |
Sets the scan value.
| scan | the scan value |
|
inlinevirtual |
Sets the width in points.
| width | the width |