com.groupdocs.merger.domain.options

Class OlePresentationOptions

    • Constructor Detail

      • OlePresentationOptions

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

        Initializes a new instance of the OlePresentationOptions class.

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

        public OlePresentationOptions(String filePath,
                              int pageNumber)
                               throws Exception

        Initializes a new instance of the OlePresentationOptions 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 frame.

        Specified by:
        getHeight in interface ISizeOptions
      • getWidth

        public final int getWidth()

        The width of the embedded object frame.

        Specified by:
        getWidth in interface ISizeOptions
      • getX

        public final int getX()

        The X coordinate of the embedded object frame.

        Specified by:
        getX in interface IOlePresentationOptions
      • getY

        public final int getY()

        The Y coordinate of the embedded object frame.

        Specified by:
        getY in interface IOlePresentationOptions
      • setHeight

        public final void setHeight(int value)

        The height of the embedded object frame.

        Specified by:
        setHeight in interface ISizeOptions
      • setWidth

        public final void setWidth(int value)

        The width of the embedded object frame.

        Specified by:
        setWidth in interface ISizeOptions
      • setX

        public final void setX(int value)

        The X coordinate of the embedded object frame.

        Specified by:
        setX in interface IOlePresentationOptions
      • setY

        public final void setY(int value)

        The Y coordinate of the embedded object frame.

        Specified by:
        setY in interface IOlePresentationOptions