public static class Configuration.OutputFormat extends Object
A type containing output data.
Constructor and Description |
---|
OutputFormat() |
OutputFormat(Configuration.OutputType type,
int width,
int height,
Boolean multiImage)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Configuration.OutputFormat |
setHeight(Integer value)
The height of the output in pixels (image formats only).
|
Configuration.OutputFormat |
setMultiImage(Boolean value)
Indicates whether the image output will be paginated into multiple images.
|
Configuration.OutputFormat |
setPixelDensity(Integer value)
The pixel density of the output (image formats only).
|
Configuration.OutputFormat |
setPixelDensityUnit(Configuration.ResolutionUnit pixelDensityUnit)
The unit of the pixel density.
|
Configuration.OutputFormat |
setType(Configuration.OutputType value)
The output format.
|
Configuration.OutputFormat |
setWidth(Integer value)
The with of the output in pixels (image formats only).
|
public OutputFormat()
@Deprecated public OutputFormat(Configuration.OutputType type, int width, int height, Boolean multiImage)
public Configuration.OutputFormat setType(Configuration.OutputType value)
The output format. See Configuration.OutputType
constants. Defaults to Configuration.OutputType.PDF
.
Configuration.OutputFormat
instance.public Configuration.OutputFormat setWidth(Integer value)
The with of the output in pixels (image formats only). Values <1 will be computed based on the specified height and the aspect ratio of the input document.
Configuration.OutputFormat
instance.public Configuration.OutputFormat setHeight(Integer value)
The height of the output in pixels (image formats only). Values <1 will be computed based on the specified width and the aspect ratio of the input document.
Configuration.OutputFormat
instance.public Configuration.OutputFormat setPixelDensity(Integer value)
The pixel density of the output (image formats only). When neither 'width' nor 'height' is specified this is used to determine the dimensions of the image from the page size. Values <1 default to 96dpi.
Configuration.OutputFormat
instance.#setPixelDensityUnit(ResolutionUnit)} for the unit of this value (defaults to DPI)
public Configuration.OutputFormat setPixelDensityUnit(Configuration.ResolutionUnit pixelDensityUnit)
The unit of the pixel density. Defaults to dpi.
Configuration.OutputFormat
instance.public Configuration.OutputFormat setMultiImage(Boolean value)
Indicates whether the image output will be paginated into multiple images.
Configuration.OutputFormat
instance.This doc was generated on 2023-09-21. Copyright © 2002-2023 RealObjects GmbH. All Rights Reserved.