com.groupdocs.merger.domain

Class ImageJoinItem



  • public class ImageJoinItem
    extends Object

    Represents image item to be joined with other images.

    • Constructor Detail

      • ImageJoinItem

        public ImageJoinItem(InputStream imageStream)

        Initializes a new instance of the ImageJoinItem class.

        Parameters:
        imageStream - Stream with image.
      • ImageJoinItem

        public ImageJoinItem(InputStream imageStream,
                     long fileFormat,
                     int rowNumber,
                     int columnNumber)

        Initializes a new instance of the ImageJoinItem class.

        Parameters:
        imageStream - Stream with image.
        fileFormat -
        rowNumber -
        columnNumber -
      • ImageJoinItem

        public ImageJoinItem(InputStream imageStream,
                     long fileFormat,
                     int rowNumber,
                     int columnNumber,
                     int imageNumber)

        Initializes a new instance of the ImageJoinItem class.

        Parameters:
        imageStream - Stream with image.
        fileFormat -
        rowNumber -
        columnNumber -
        imageNumber -
    • Method Detail

      • getColumnNumber

        public final int getColumnNumber()

        Column location of source image in result image. Left column has number 0.

      • getFileFormat

        public final long getFileFormat()

        File format.

      • getIdentifyRow

        public final String getIdentifyRow()

        String to identify image. Only for use in test project.

      • getImageNumber

        public final int getImageNumber()

        Order number of image to join for multi-imaged formats (like Tiff). Default value is 0.

      • getImageStream

        public final InputStream getImageStream()

        Gets or sets the stream with image.

      • getRowNumber

        public final int getRowNumber()

        Row location of source image in result image. Upper row has number 0.

      • setColumnNumber

        public final void setColumnNumber(int value)

        Column location of source image in result image. Left column has number 0.

      • setFileFormat

        public final void setFileFormat(long value)

        File format.

      • setIdentifyRow

        public final void setIdentifyRow(String value)

        String to identify image. Only for use in test project.

      • setImageNumber

        public final void setImageNumber(int value)

        Order number of image to join for multi-imaged formats (like Tiff). Default value is 0.

      • setImageStream

        public final void setImageStream(InputStream value)

        Gets or sets the stream with image.

      • setRowNumber

        public final void setRowNumber(int value)

        Row location of source image in result image. Upper row has number 0.