com.groupdocs.merger.domain.options

Class OleWordProcessingOptions

    • Constructor Detail

      • OleWordProcessingOptions

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

        Initializes a new instance of the OleWordProcessingOptions 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.
      • OleWordProcessingOptions

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

        Initializes a new instance of the OleWordProcessingOptions 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
      • OleWordProcessingOptions

        public OleWordProcessingOptions(String filePath,
                                int pageNumber)
                                 throws Exception

        Initializes a new instance of the OleWordProcessingOptions 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 Ole object image.

        Specified by:
        getHeight in interface ISizeOptions
      • getWidth

        public final int getWidth()

        The width of the Ole object image.

        Specified by:
        getWidth in interface ISizeOptions
      • setHeight

        public final void setHeight(int value)

        The height of the Ole object image.

        Specified by:
        setHeight in interface ISizeOptions
      • setWidth

        public final void setWidth(int value)

        The width of the Ole object image.

        Specified by:
        setWidth in interface ISizeOptions