com.aspose.omr

Class OmrPage



  • public class OmrPage
    extends Object

    Represents single omr page

    • Constructor Detail

      • OmrPage

        public OmrPage()

        Initializes a new instance of the OmrPage class

    • Method Detail

      • getHeight

        public final double getHeight()

        Gets or sets page height

        Returns:
        page height
      • setHeight

        public final void setHeight(double value)

        Gets or sets page height

        Parameters:
        value - page height
      • getWidth

        public final double getWidth()

        Gets or sets page width

        Returns:
        page width
      • setWidth

        public final void setWidth(double value)

        Gets or sets page width

        Parameters:
        value - page width
      • getElements

        public final com.aspose.ms.System.Collections.Generic.List<OmrElement> getElements()

        Gets or sets list of elements on page

        Returns:
        list of elements on page
      • setElements

        public final void setElements(com.aspose.ms.System.Collections.Generic.List<OmrElement> value)

        Gets or sets list of elements on page

        Parameters:
        value - list of elements on page
      • getImageName

        public final String getImageName()

        Gets or sets the image data

        Returns:
        the image name
      • setImageName

        public final void setImageName(String value)

        Gets or sets the image name

        Parameters:
        value - image name
      • getImageFormat

        public final String getImageFormat()

        Gets or sets the image file format

        Returns:
        the image file format
      • setImageFormat

        public final void setImageFormat(String value)

        Gets or sets the image file format

        Parameters:
        value - the image file format
      • addChoiceBoxElement

        public final ChoiceBoxElement addChoiceBoxElement(String name,
                                                          int width,
                                                          int height,
                                                          int top,
                                                          int left)

        Add choice box element on page

        Parameters:
        name - Element name
        width - Element width
        height - Element height
        top - Element top position
        left - Element left position
        Returns:
        Created choice box
      • addGridElement

        public final void addGridElement(GridElement grid)
      • addGridElement

        public final GridElement addGridElement(String name,
                                                int width,
                                                int height,
                                                int top,
                                                int left)
      • addBarcodeElement

        public final BarcodeElement addBarcodeElement(String name,
                                                      int width,
                                                      int height,
                                                      int top,
                                                      int left)
      • addClipAreaElement

        public final ClipAreaElement addClipAreaElement(String name,
                                                        int width,
                                                        int height,
                                                        int top,
                                                        int left)