Class FitWidthDestinationType


  • public class FitWidthDestinationType
    extends DestinationEventType
     <?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">The fitWidth element is used to specify a location within the document. It will jump to a page in the document and set a zoom factor that will ensure that the entire page width is displayed.</p>
     

    Java class for FitWidthDestinationType complex type.

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

    
     <complexType name="FitWidthDestinationType">
       <complexContent>
         <extension base="{http://schema.webpdf.de/1.0/operation}DestinationEventType">
           <attribute name="page" default="1">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}int">
                 <minInclusive value="1"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="topOffset" default="0">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}int">
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="metrics" type="{http://schema.webpdf.de/1.0/operation}MetricsType" default="px" />
         </extension>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • FitWidthDestinationType

        public FitWidthDestinationType()
    • Method Detail

      • getPage

        public int getPage()
        Gets the value of the page property.
        Returns:
        possible object is Integer
      • setPage

        public void setPage​(int value)
        Sets the value of the page property.
        Parameters:
        value - allowed object is Integer
      • isSetPage

        public boolean isSetPage()
      • unsetPage

        public void unsetPage()
      • getTopOffset

        public int getTopOffset()
        Gets the value of the topOffset property.
        Returns:
        possible object is Integer
      • setTopOffset

        public void setTopOffset​(int value)
        Sets the value of the topOffset property.
        Parameters:
        value - allowed object is Integer
      • isSetTopOffset

        public boolean isSetTopOffset()
      • unsetTopOffset

        public void unsetTopOffset()
      • getMetrics

        public MetricsType getMetrics()
        Gets the value of the metrics property.
        Returns:
        possible object is MetricsType
      • setMetrics

        public void setMetrics​(MetricsType value)
        Sets the value of the metrics property.
        Parameters:
        value - allowed object is MetricsType
      • isSetMetrics

        public boolean isSetMetrics()