Class WatermarkImageType


  • public class WatermarkImageType
    extends Object
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:p175671_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:p944882_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to add an image as a watermark.</p>
     

    Java class for WatermarkImageType complex type

    .

    The following schema fragment specifies the expected content contained within this class.

    
     <complexType name="WatermarkImageType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <all>
             <element name="data" type="{http://schema.webpdf.de/1.0/operation}WatermarkFileDataType"/>
             <element name="position" type="{http://schema.webpdf.de/1.0/operation}WatermarkPositionType" minOccurs="0"/>
           </all>
           <attribute name="scale" default="0">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}int">
                 <minInclusive value="0"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="opacity" type="{http://schema.webpdf.de/1.0/operation}OpacityType" default="25" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • scale

        protected Integer scale
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p175671_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:p944882_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Specifies the scaling of the image in percent.</p>
         
      • opacity

        protected Integer opacity
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p175671_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:p944882_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to set the image's opacity. A percent value between 0 and 100 is allowed, whereby 0 equals the minimum opacity. The higher the value, the more the content of the PDF document will be covered over.</p>
         
    • Constructor Detail

      • WatermarkImageType

        public WatermarkImageType()
    • Method Detail

      • isSetData

        public boolean isSetData()
      • isSetPosition

        public boolean isSetPosition()
      • getScale

        public int getScale()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p175671_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:p944882_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Specifies the scaling of the image in percent.</p>
         
        Returns:
        possible object is Integer
      • setScale

        public void setScale​(int value)
        Sets the value of the scale property.
        Parameters:
        value - allowed object is Integer
        See Also:
        getScale()
      • isSetScale

        public boolean isSetScale()
      • unsetScale

        public void unsetScale()
      • getOpacity

        public int getOpacity()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p175671_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:p944882_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to set the image's opacity. A percent value between 0 and 100 is allowed, whereby 0 equals the minimum opacity. The higher the value, the more the content of the PDF document will be covered over.</p>
         
        Returns:
        possible object is Integer
      • setOpacity

        public void setOpacity​(int value)
        Sets the value of the opacity property.
        Parameters:
        value - allowed object is Integer
        See Also:
        getOpacity()
      • isSetOpacity

        public boolean isSetOpacity()
      • unsetOpacity

        public void unsetOpacity()