Package net.webpdf.wsclient.openapi
Class OperationConverterImage
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationConverterImage
-
public class OperationConverterImage extends Object
The settings are used when converting images if the source file is an image. If the source file is another format that may contain images, then these settings may not apply.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_MAINTAIN_ASPECT_RATIO
-
Constructor Summary
Constructors Constructor Description OperationConverterImage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@Nullable BooleangetMaintainAspectRatio()If enabled (\"true\"), then the aspect ratio of the graphic will be maintained when the graphic is converted to a specified page size in the PDF.inthashCode()OperationConverterImagemaintainAspectRatio(Boolean maintainAspectRatio)voidsetMaintainAspectRatio(Boolean maintainAspectRatio)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_MAINTAIN_ASPECT_RATIO
public static final String JSON_PROPERTY_MAINTAIN_ASPECT_RATIO
- See Also:
- Constant Field Values
-
-
Method Detail
-
maintainAspectRatio
public OperationConverterImage maintainAspectRatio(Boolean maintainAspectRatio)
-
getMaintainAspectRatio
@Nullable public @Nullable Boolean getMaintainAspectRatio()
If enabled (\"true\"), then the aspect ratio of the graphic will be maintained when the graphic is converted to a specified page size in the PDF. If no paper size is defined, then the aspect ratio does not matter, because the page in the PDF will then always have the size of the graphic.- Returns:
- maintainAspectRatio
-
setMaintainAspectRatio
public void setMaintainAspectRatio(Boolean maintainAspectRatio)
-
-