com.groupdocs.signature.options

Class SignOptions

    • Field Detail

      • imageBorderData

        public com.groupdocs.signature.domain.ImageBorderData imageBorderData
    • Constructor Detail

      • SignOptions

        public SignOptions()

        Initializes a new instance of the SignOptions class.

    • Method Detail

      • getDocumentPageNumber

        public int getDocumentPageNumber()

        Gets or sets document page number for signing.

      • setDocumentPageNumber

        public void setDocumentPageNumber(int value)

        Gets or sets document page number for signing.

      • setAppearance

        public void setAppearance(SignatureAppearance value)

        Additional signature appearance.

      • getPagesSetup

        public PagesSetup getPagesSetup()

        Options to specify pages to be signed.

      • setPagesSetup

        public void setPagesSetup(PagesSetup value)

        Options to specify pages to be signed.

      • getSignatureConfig

        public SignatureConfig getSignatureConfig()

        Signature Configuration to access files to work with.

      • setSignatureConfig

        public void setSignatureConfig(SignatureConfig value)

        Signature Configuration to access files to work with.

      • onError

        public void onError(String errorCode,
                   String... parameters)
      • getSignPages

        public com.aspose.ms.System.Collections.Generic.List<Integer> getSignPages(int totalPages)

        Virtual method to get list of pages to sign.

        Parameters:
        totalPages - Total count of pages
        Returns:
        List of page numbers
      • getSignPagesQueue

        public com.aspose.ms.System.Collections.Generic.Queue<Integer> getSignPagesQueue(int totalPages)

        Gets queue of pages to sign.

        Parameters:
        totalPages - Total count of pages
        Returns:
        Queue of page numbers
      • getOpacity

        public double getOpacity()

        Gets the additional opacity for sign image (value from 0.0 (clear) through 1.0 (opaque)). By default the value is 1.0.

      • getImageBorder

        public com.groupdocs.signature.domain.ImageBorderData getImageBorder()

        Gets image border data.

      • getDocumentPPM

        public double getDocumentPPM()

        Get Document pixels resolution - pixels per millimeter - PPM

        Returns:
        Returns pixel per millimeter
      • getPropertyOrDefault

        public <T> T getPropertyOrDefault(T setupValue,
                                 T propertyValue,
                                 T defaultValue)
      • getPropertyOrDefault

        public <T> T getPropertyOrDefault(boolean valueWasChanged,
                                 T defaultValue,
                                 T propertyValue)
      • isRotationChanged

        public boolean isRotationChanged()
      • setRotationChanged

        public void setRotationChanged(boolean value)
      • toString

        public String toString()

        Override string conversion.

        Overrides:
        toString in class Object
        Returns: