com.groupdocs.merger.domain.options

Class OleDiagramOptions

    • Constructor Detail

      • OleDiagramOptions

        public OleDiagramOptions(byte[] objectData,
                         byte[] imageData,
                         String extension,
                         int pageNumber)

        Initializes a new instance of the OleDiagramOptions class.

        Parameters:
        objectData - The data of the embedded object.
        imageData - The image data of the embedded object.
        extension - The extension of the embedded object.
        pageNumber - The page number for adding embedded object.
      • OleDiagramOptions

        public OleDiagramOptions(String filePath,
                         byte[] imageData,
                         int pageNumber)
                          throws Exception

        Initializes a new instance of the OleDiagramOptions class.

        Parameters:
        filePath - The file path of the embedded object.
        imageData - The image data of the embedded object.
        pageNumber - The page number for adding embedded object.
        Throws:
        Exception
      • OleDiagramOptions

        public OleDiagramOptions(String filePath,
                         int pageNumber)
                          throws Exception

        Initializes a new instance of the OleDiagramOptions class.

        Parameters:
        filePath - The file path of the embedded object.
        pageNumber - The page number for adding embedded object.
        Throws:
        Exception
    • Method Detail

      • getHeight

        public final int getHeight()

        The height of the embedded object shape in inches.

        Specified by:
        getHeight in interface ISizeOptions
      • getImageData

        public final byte[] getImageData()

        The image data of the embedded object.

        Specified by:
        getImageData in interface com.groupdocs.merger.domain.options.interfaces.IOleDiagramOptions
      • getWidth

        public final int getWidth()

        The width of the embedded object shape in inches.

        Specified by:
        getWidth in interface ISizeOptions
      • getX

        public final int getX()

        The X coordinate of the embedded object shape's pin (center of rotation) in relation to the page.

        Specified by:
        getX in interface com.groupdocs.merger.domain.options.interfaces.IOleDiagramOptions
      • getY

        public final int getY()

        The Y coordinate of the embedded object shape's pin (center of rotation) in relation to the page.

        Specified by:
        getY in interface com.groupdocs.merger.domain.options.interfaces.IOleDiagramOptions
      • setHeight

        public final void setHeight(int value)

        The height of the embedded object shape in inches.

        Specified by:
        setHeight in interface ISizeOptions
      • setWidth

        public final void setWidth(int value)

        The width of the embedded object shape in inches.

        Specified by:
        setWidth in interface ISizeOptions
      • setX

        public final void setX(int value)

        The X coordinate of the embedded object shape's pin (center of rotation) in relation to the page.

        Specified by:
        setX in interface com.groupdocs.merger.domain.options.interfaces.IOleDiagramOptions
      • setY

        public final void setY(int value)

        The Y coordinate of the embedded object shape's pin (center of rotation) in relation to the page.

        Specified by:
        setY in interface com.groupdocs.merger.domain.options.interfaces.IOleDiagramOptions