Class ConverterImageType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.ConverterImageType
-
public class ConverterImageType extends Object
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p310440_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p351123_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">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.</p>
Java class for ConverterImageType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="ConverterImageType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="maintainAspectRatio" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected BooleanmaintainAspectRatio<?
-
Constructor Summary
Constructors Constructor Description ConverterImageType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisMaintainAspectRatio()<?booleanisSetMaintainAspectRatio()voidsetMaintainAspectRatio(boolean value)Sets the value of the maintainAspectRatio property.voidunsetMaintainAspectRatio()
-
-
-
Field Detail
-
maintainAspectRatio
protected Boolean maintainAspectRatio
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p310440_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p351123_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">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.</p>
-
-
Method Detail
-
isMaintainAspectRatio
public boolean isMaintainAspectRatio()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p310440_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p351123_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">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.</p>- Returns:
- possible object is
Boolean
-
setMaintainAspectRatio
public void setMaintainAspectRatio(boolean value)
Sets the value of the maintainAspectRatio property.- Parameters:
value- allowed object isBoolean- See Also:
isMaintainAspectRatio()
-
isSetMaintainAspectRatio
public boolean isSetMaintainAspectRatio()
-
unsetMaintainAspectRatio
public void unsetMaintainAspectRatio()
-
-