Class ImageBaseType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.ImageBaseType
-
public class ImageBaseType extends Object
<?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">A common base type for image file formats to which the PDF document will be exported.</p>
Java class for ImageBaseType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="ImageBaseType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="dpi" default="72"> <simpleType> <restriction base="{http://schema.webpdf.de/1.0/operation}DpiType"> </restriction> </simpleType> </attribute> <attribute name="width" default="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="0"/> </restriction> </simpleType> </attribute> <attribute name="height" default="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="0"/> </restriction> </simpleType> </attribute> <attribute name="metrics" type="{http://schema.webpdf.de/1.0/operation}MetricsType" default="mm" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description ImageBaseType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDpi()<?intgetHeight()<?MetricsTypegetMetrics()<?intgetWidth()<?booleanisSetDpi()booleanisSetHeight()booleanisSetMetrics()booleanisSetWidth()voidsetDpi(int value)Sets the value of the dpi property.voidsetHeight(int value)Sets the value of the height property.voidsetMetrics(MetricsType value)Sets the value of the metrics property.voidsetWidth(int value)Sets the value of the width property.voidunsetDpi()voidunsetHeight()voidunsetWidth()
-
-
-
Field Detail
-
dpi
protected Integer dpi
<?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">This parameter is used to define the image's DPI resolution. The larger the value, the larger the image's x, y resolution. In addition, the larger the DPI resolution, the larger the size of the image file.</p>
-
width
protected Integer width
<?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to limit the maximum width of the exported image. 0 = No restriction </p>
-
height
protected Integer height
<?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to limit the maximum height of the exported image. 0 = No restriction </p>
-
metrics
protected MetricsType metrics
<?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to specify the unit in which the maximum dimensions are specified. <ul><li>pt = Points(1/72 inch)</li><li>pc = Picas(12 points)</li><li>px = Pixels(1/96 inch)</li><li>mm = Millimeters</li><li>in = Inches</li></ul></p>
-
-
Method Detail
-
getDpi
public int getDpi()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">This parameter is used to define the image's DPI resolution. The larger the value, the larger the image's x, y resolution. In addition, the larger the DPI resolution, the larger the size of the image file.</p>
- Returns:
- possible object is
Integer
-
setDpi
public void setDpi(int value)
Sets the value of the dpi property.
-
isSetDpi
public boolean isSetDpi()
-
unsetDpi
public void unsetDpi()
-
getWidth
public int getWidth()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to limit the maximum width of the exported image. 0 = No restriction </p>- Returns:
- possible object is
Integer
-
setWidth
public void setWidth(int value)
Sets the value of the width property.- Parameters:
value- allowed object isInteger- See Also:
getWidth()
-
isSetWidth
public boolean isSetWidth()
-
unsetWidth
public void unsetWidth()
-
getHeight
public int getHeight()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to limit the maximum height of the exported image. 0 = No restriction </p>- Returns:
- possible object is
Integer
-
setHeight
public void setHeight(int value)
Sets the value of the height property.- Parameters:
value- allowed object isInteger- See Also:
getHeight()
-
isSetHeight
public boolean isSetHeight()
-
unsetHeight
public void unsetHeight()
-
getMetrics
public MetricsType getMetrics()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to specify the unit in which the maximum dimensions are specified. <ul><li>pt = Points(1/72 inch)</li><li>pc = Picas(12 points)</li><li>px = Pixels(1/96 inch)</li><li>mm = Millimeters</li><li>in = Inches</li></ul></p>- Returns:
- possible object is
MetricsType
-
setMetrics
public void setMetrics(MetricsType value)
Sets the value of the metrics property.- Parameters:
value- allowed object isMetricsType- See Also:
getMetrics()
-
isSetMetrics
public boolean isSetMetrics()
-
-