com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class Measure



  • public class Measure
    extends Object

    Class which describes Measure coordinate system.

    • Constructor Detail

      • Measure

        public Measure(Annotation annotation)

        Creates Measure object for measure annotations.

        Parameters:
        annotation - Annotation for which measure will be bound.
    • Method Detail

      • getScaleRatio

        public String getScaleRatio()

        A text string expressing the scale ratio of the drawing.

        Returns:
        string object
      • setScaleRatio

        public void setScaleRatio(String value)
      • getXFormat

        public Measure.NumberFormatList getXFormat()

        A number format array for measurement of change along the xaxis and, if Y is not present, along the y axis as well

        Returns:
        NumberFormatList value
      • setXFormat

        public void setXFormat(Measure.NumberFormatList value)

        A number format array for measurement of change along the xaxis and, if Y is not present, along the y axis as well

        Parameters:
        value - NumberFormatList value
      • getYFormat

        public Measure.NumberFormatList getYFormat()

        A number format array for measurement of change along the y axis.

        Returns:
        NumberFormatList value
      • setYFormat

        public void setYFormat(Measure.NumberFormatList value)

        A number format array for measurement of change along the y axis.

        Parameters:
        value - NumberFormatList value
      • getDistanceFormat

        public Measure.NumberFormatList getDistanceFormat()

        A number format array for measurement of distance in any direction.

        Returns:
        NumberFormatList value
      • setDistanceFormat

        public void setDistanceFormat(Measure.NumberFormatList value)

        A number format array for measurement of distance in any direction.

        Parameters:
        value - NumberFormatList value
      • getAreaFormat

        public Measure.NumberFormatList getAreaFormat()

        A number format array for measurement of area.

        Returns:
        NumberFormatList value
      • setAreaFormat

        public void setAreaFormat(Measure.NumberFormatList value)

        A number format array for measurement of area.

        Parameters:
        value - NumberFormatList object
      • getAngleFormat

        public Measure.NumberFormatList getAngleFormat()

        A number format array for measurement of angles.

        Returns:
        NumberFormatList value
      • setAngleFormat

        public void setAngleFormat(Measure.NumberFormatList value)

        A number format array for measurement of angles.

        Parameters:
        value - NumberFormatList value
      • getSlopeFormat

        public Measure.NumberFormatList getSlopeFormat()

        A number format array for measurement of the slope of a line.

        Returns:
        NumberFormatList value
      • setSlopeFormat

        public void setSlopeFormat(Measure.NumberFormatList value)

        A number format array for measurement of the slope of a line.

        Parameters:
        value - NumberFormatList value
      • getOrigin

        public Point getOrigin()

        Point that shall specify the origin of the measurement coordinate system in default user space coordinates.

        Returns:
        Point object
      • setOrigin

        public void setOrigin(Point value)

        Point that shall specify the origin of the measurement coordinate system in default user space coordinates.

        Parameters:
        value - Point object
      • getXYFactor

        public double getXYFactor()

        A factor that shall be used to convert the largest units along the y axis to the largest units along the x axis.

        Returns:
        double value
      • setXYFactor

        public void setXYFactor(double value)

        A factor that shall be used to convert the largest units along the y axis to the largest units along the x axis.

        Parameters:
        value - double value