ASTiffExportParametersBean

Inheritance: java.lang.Object, ImageExportParameters

The TIFF file format export parameters.

Constructors

ConstructorDescription
ASTiffExportParametersBean()Instantiates a new Tiff export parameters.

Methods

MethodDescription
getFileStandard()Gets or sets the TIFF file standard.
setFileStandard(TiffFileStandardsEnum value)Gets or sets the TIFF file standard.
getPremultiplyComponents()Gets or sets a value indicating whether components must be premultiplied.
setPremultiplyComponents(boolean value)Gets or sets a value indicating whether components must be premultiplied.
getYCbCrSubsampling()Gets or sets the subsampling factors for YCbCr photometric.
setYCbCrSubsampling(int[] value)Gets or sets the subsampling factors for YCbCr photometric.
getYCbCrCoefficients()Gets or sets the YCbCrCoefficients.
setYCbCrCoefficients(com.aspose.cad.fileformats.tiff.TiffRational[] value)Gets or sets the YCbCrCoefficients.
getArtist()Gets or sets the artist.
setArtist(String value)Gets or sets the artist.
getByteOrder()Gets or sets a value indicating the tiff byte order.
setByteOrder(TiffByteOrderEnum value)Gets or sets a value indicating the tiff byte order.
getIccProfile()Gets the icc profile stream.
setIccProfile(byte[] value)Sets the icc profile stream.
getBitsPerSample()Gets the bits per sample.
setBitsPerSample(int[] value)Sets the bits per sample.
getExtraSamples()Gets the extra samples values.
getCompression()Gets the compression.
setCompression(TiffCompressionsEnum compression)Sets the compression.
getCopyright()Gets the copyright.
setCopyright(String value)Sets the copyright.
getColorMap()Gets or sets the color map.
setColorMap(int[] value)Gets or sets the color map.
getPalette()Gets or sets the color palette.
setPalette(com.aspose.cad.IColorPalette value)Gets or sets the color palette.
getDateTime()Gets or sets the date and time.
setDateTime(String value)Gets or sets the date and time.
getDocumentName()Gets or sets the name of the document.
setDocumentName(String value)Gets or sets the name of the document.
getAlphaStorage()Gets or sets the alpha storage option. Options other than TiffAlphaStorageEnum.Unspecified are used when there are more than 3 SamplesPerPixel defined.
setAlphaStorage(TiffAlphaStorageEnum alphaStorage)Gets or sets the alpha storage option. Options other than TiffAlphaStorage.Unspecified are used when there are more than 3 SamplesPerPixel defined.
isExtraSamplesPresent()Gets a value indicating whether the extra samples is present.
getFillOrder()Gets or sets the byte bits fill order.
setFillOrder(TiffFillOrdersEnum fillOrder)Gets or sets the byte bits fill order.
getHalfToneHints()Gets or sets the halftone hints.
setHalfToneHints(int[] value)Gets or sets the halftone hints.
getImageDescription()Gets or sets the image description.
setImageDescription(String value)Gets or sets the image description.
getInkNames()Gets or sets the ink names.
setInkNames(String value)Gets or sets the ink names.
getScannerManufacturer()Gets or sets the scanner manufacturer.
setScannerManufacturer(String value)Gets or sets the scanner manufacturer.
getMaxSampleValue()Gets or sets the max sample value.
setMaxSampleValue(int[] value)Gets or sets the max sample value.
getMinSampleValue()Gets or sets the min sample value.
setMinSampleValue(int[] value)Gets or sets the min sample value.
getScannerModel()Gets or sets the scanner model.
setScannerModel(String value)Gets or sets the scanner model.
getOrientation()Gets or sets the orientation.
setOrientation(TiffOrientationsEnum orientation)Gets or sets the orientation.
getPageName()Gets or sets the page name.
setPageName(String value)Gets or sets the page name.
getPageNumber()Gets or sets the page number tag.
setPageNumber(int[] value)Gets or sets the page number tag.
getPhotometric()Gets or sets the photometric.
setPhotometric(TiffPhotometricsEnum photometric)Gets or sets the photometric.
getPlanarConfiguration()Gets or sets the planar configuration.
setPlanarConfiguration(TiffPlanarConfigsEnum planarConfiguration)Gets or sets the planar configuration.
getResolutionUnit()Gets or sets the resolution unit.
setResolutionUnit(TiffResolutionUnitsEnum resolutionUnitsEnum)Gets or sets the resolution unit.
getRowsPerStrip()Gets or sets the rows per strip.
setRowsPerStrip(long value)Gets or sets the rows per strip.
getTileWidth()Gets ot sets tile width.
setTileWidth(long value)Gets ot sets tile width.
getTileLength()Gets ot sets tile length.
setTileLength(long value)Gets ot sets tile length.
getSampleFormat()Gets or sets the sample format.
setSampleFormat(TiffSampleFormatsEnum[] sampleFormats)Gets or sets the sample format.
getSamplesPerPixel()Gets the samples per pixel. To change this property value use the BitsPerSample property setter.
getSmaxSampleValue()Gets or sets the max sample value. The value has a field type which best matches the sample data (Byte, Short or Long type).
setSmaxSampleValue(long[] value)Gets or sets the max sample value. The value has a field type which best matches the sample data (Byte, Short or Long type).
getSminSampleValue()Gets or sets the min sample value. The value has a field type which best matches the sample data (Byte, Short or Long type).
setSminSampleValue(long[] value)Gets or sets the min sample value. The value has a field type which best matches the sample data (Byte, Short or Long type).
getSoftwareType()Gets or sets the software type.
setSoftwareType(String value)Gets or sets the software type.
getStripByteCounts()Gets or sets the strip byte counts.
setStripByteCounts(long[] value)Gets or sets the strip byte counts.
getStripOffsets()Gets or sets the strip offsets.
setStripOffsets(long[] value)Gets or sets the strip offsets.
getTileByteCounts()Gets or sets the tile byte counts.
setTileByteCounts(long[] value)Gets or sets the tile byte counts.
getTileOffsets()Gets or sets the tile offsets.
setTileOffsets(long[] value)Gets or sets the tile offsets.
getSubFileType()Gets or sets a general indication of the kind of data contained in this subfile.
setSubFileType(TiffNewSubFileTypesEnum subFileType)Gets or sets a general indication of the kind of data contained in this subfile.
getTargetPrinter()Gets or sets the target printer.
setTargetPrinter(String value)Gets or sets the target printer.
getThreshholding()Gets or sets the threshholding.
setThreshholding(TiffThresholdsEnum threshholding)Gets or sets the threshholding.
getTotalPages()Gets the total pages.
getXposition()Gets or sets the x position.
setXposition(com.aspose.cad.fileformats.tiff.TiffRational value)Gets or sets the x position.
getResolutionSettings()Gets or sets the resolution settings.
setResolutionSettings(com.aspose.cad.ResolutionSetting value)Gets or sets the resolution settings.
getXresolution()Gets or sets the x resolution.
setXresolution(com.aspose.cad.fileformats.tiff.TiffRational value)Gets or sets the x resolution.
getYposition()Gets or sets the y position.
setYposition(com.aspose.cad.fileformats.tiff.TiffRational value)Gets or sets the y position.
getYresolution()Gets or sets the y resolution.
setYresolution(com.aspose.cad.fileformats.tiff.TiffRational value)Gets or sets the y resolution.
getFaxT4Options()Gets or sets the fax t4 options.
setFaxT4Options(Group3OptionsEnum value)Gets or sets the fax t4 options.
getPredictor()Gets or sets the predictor for LZW compression.
setPredictor(TiffPredictorEnum predictor)Gets or sets the predictor for LZW compression.
getImageLength()Gets or sets the image length.
setImageLength(long value)Gets or sets the image length.
getImageWidth()Gets or sets the image width.
setImageWidth(long value)Gets or sets the image width.
getExifIfd()Gets or sets the pointer to EXIF IFD.
getTags()Gets or sets the tags.
setTags(com.aspose.cad.fileformats.tiff.TiffDataType[] value)Gets or sets the tags.
getValidTagCount()Gets the valid tag count. This is not the total tags count but the number of tags which may be preserved.
getBitsPerPixel()Gets the bits per pixel.
removeTag(int tag)Removes the tag.
removeTag(TiffTagsEnum tag)
addTags(com.aspose.cad.fileformats.tiff.TiffDataType[] tagsToAdd)Adds the tags.
addTag(com.aspose.cad.fileformats.tiff.TiffDataType tagToAdd)Adds a new tag.
getTagByType(TiffTagsEnum tagKey)Gets the instance of the tag by type.
getExpectedFormat()Gets expected tiff file format.
setExpectedFormat(TiffExpectedFormatEnum expectedFormat)Gets expected tiff file format.
setPropertyValues(Object object)

ASTiffExportParametersBean()

public ASTiffExportParametersBean()

Instantiates a new Tiff export parameters.

getFileStandard()

public TiffFileStandardsEnum getFileStandard()

Gets or sets the TIFF file standard.

Returns: TiffFileStandardsEnum - The TIFF file standard.

setFileStandard(TiffFileStandardsEnum value)

public void setFileStandard(TiffFileStandardsEnum value)

Gets or sets the TIFF file standard.

Parameters:

ParameterTypeDescription
valueTiffFileStandardsEnumThe TIFF file standard.

getPremultiplyComponents()

public boolean getPremultiplyComponents()

Gets or sets a value indicating whether components must be premultiplied.

Returns: boolean - true if components must be premultiplied; otherwise, false .

setPremultiplyComponents(boolean value)

public void setPremultiplyComponents(boolean value)

Gets or sets a value indicating whether components must be premultiplied.

Parameters:

ParameterTypeDescription
valuebooleantrue if components must be premultiplied; otherwise, false .

getYCbCrSubsampling()

public int[] getYCbCrSubsampling()

Gets or sets the subsampling factors for YCbCr photometric.

Returns: int[] - The subsampling factors for YCbCr photometric.

Throws:

  • com.aspose.cad.cadexceptions.imageformats.TiffImageException - Invalid field length. YCbCrSubsampling field must contain two values.
  • com.aspose.ms.System.ArgumentNullException - value

setYCbCrSubsampling(int[] value)

public void setYCbCrSubsampling(int[] value)

Gets or sets the subsampling factors for YCbCr photometric.

Parameters:

ParameterTypeDescription
valueint[]The subsampling factors for YCbCr photometric.

Throws:

  • com.aspose.cad.cadexceptions.imageformats.TiffImageException - Invalid field length. YCbCrSubsampling field must contain two values.
  • com.aspose.ms.System.ArgumentNullException - value

getYCbCrCoefficients()

public com.aspose.cad.fileformats.tiff.TiffRational[] getYCbCrCoefficients()

Gets or sets the YCbCrCoefficients.

Returns: com.aspose.cad.fileformats.tiff.TiffRational[] - The YCbCrCoefficients.

Throws:

  • com.aspose.cad.cadexceptions.imageformats.TiffImageException - Invalid count of rational coefficient values. Must be equal to 3.
  • com.aspose.ms.System.ArgumentNullException - value

setYCbCrCoefficients(com.aspose.cad.fileformats.tiff.TiffRational[] value)

public void setYCbCrCoefficients(com.aspose.cad.fileformats.tiff.TiffRational[] value)

Gets or sets the YCbCrCoefficients.

Parameters:

ParameterTypeDescription
valuecom.aspose.cad.fileformats.tiff.TiffRational[]The YCbCrCoefficients.

Throws:

  • com.aspose.cad.cadexceptions.imageformats.TiffImageException - Invalid count of rational coefficient values. Must be equal to 3.
  • com.aspose.ms.System.ArgumentNullException - value

getArtist()

public String getArtist()

Gets or sets the artist.

Returns: String - The artist.

setArtist(String value)

public void setArtist(String value)

Gets or sets the artist.

Parameters:

ParameterTypeDescription
valueStringThe artist.

getByteOrder()

public TiffByteOrderEnum getByteOrder()

Gets or sets a value indicating the tiff byte order.

Returns: TiffByteOrderEnum

setByteOrder(TiffByteOrderEnum value)

public void setByteOrder(TiffByteOrderEnum value)

Gets or sets a value indicating the tiff byte order.

Parameters:

ParameterTypeDescription
valueTiffByteOrderEnum

getIccProfile()

public byte[] getIccProfile()

Gets the icc profile stream.

Returns: byte[] - The icc profile.

setIccProfile(byte[] value)

public void setIccProfile(byte[] value)

Sets the icc profile stream.

Parameters:

ParameterTypeDescription
valuebyte[]The icc profile.

getBitsPerSample()

public int[] getBitsPerSample()

Gets the bits per sample.

Returns: int[] - The bits per sample value. When setting this value keep in mind that it will also set SamplesPerPixel value to array length. These 2 properties are very tightly coupled so may be set alltogether only.

setBitsPerSample(int[] value)

public void setBitsPerSample(int[] value)

Sets the bits per sample.

Parameters:

ParameterTypeDescription
valueint[]The bits per sample value. When setting this value keep in mind that it will also set SamplesPerPixel value to array length. These 2 properties are very tightly coupled so may be set alltogether only.

getExtraSamples()

public int[] getExtraSamples()

Gets the extra samples values.

Returns: int[] - The extra samples value.

getCompression()

public TiffCompressionsEnum getCompression()

Gets the compression.

Returns: TiffCompressionsEnum - The compression.

setCompression(TiffCompressionsEnum compression)

public void setCompression(TiffCompressionsEnum compression)

Sets the compression.

Parameters:

ParameterTypeDescription
compressionTiffCompressionsEnumThe compression.

getCopyright()

public String getCopyright()

Gets the copyright.

Returns: String - The copyright.

setCopyright(String value)

public void setCopyright(String value)

Sets the copyright.

Parameters:

ParameterTypeDescription
valueStringThe copyright.

getColorMap()

public int[] getColorMap()

Gets or sets the color map.

Returns: int[] - The color map.

Throws:

  • com.aspose.ms.System.ArgumentNullException - value
  • com.aspose.cad.cadexceptions.imageformats.TiffImageException - The color map may be defined for samples per pixel equal to 1 only. or The bits per sample are not defined.
  • com.aspose.ms.System.ArgumentOutOfRangeException - value;The array length must correspond to the followign formula: 3 * (2**BitsPerSample).

setColorMap(int[] value)

public void setColorMap(int[] value)

Gets or sets the color map.

Parameters:

ParameterTypeDescription
valueint[]The color map.

Throws:

  • com.aspose.ms.System.ArgumentNullException - value
  • com.aspose.cad.cadexceptions.imageformats.TiffImageException - The color map may be defined for samples per pixel equal to 1 only. or The bits per sample are not defined.
  • com.aspose.ms.System.ArgumentOutOfRangeException - value;The array length must correspond to the followign formula: 3 * (2**BitsPerSample).

getPalette()

public com.aspose.cad.IColorPalette getPalette()

Gets or sets the color palette.

Returns: com.aspose.cad.IColorPalette - The color palette.

setPalette(com.aspose.cad.IColorPalette value)

public void setPalette(com.aspose.cad.IColorPalette value)

Gets or sets the color palette.

Parameters:

ParameterTypeDescription
valuecom.aspose.cad.IColorPaletteThe color palette.

getDateTime()

public String getDateTime()

Gets or sets the date and time.

Returns: String - The date and time.

setDateTime(String value)

public void setDateTime(String value)

Gets or sets the date and time.

Parameters:

ParameterTypeDescription
valueStringThe date and time.

getDocumentName()

public String getDocumentName()

Gets or sets the name of the document.

Returns: String - The name of the document.

setDocumentName(String value)

public void setDocumentName(String value)

Gets or sets the name of the document.

Parameters:

ParameterTypeDescription
valueStringThe name of the document.

getAlphaStorage()

public TiffAlphaStorageEnum getAlphaStorage()

Gets or sets the alpha storage option. Options other than TiffAlphaStorageEnum.Unspecified are used when there are more than 3 SamplesPerPixel defined.

Returns: TiffAlphaStorageEnum - The alpha storage option.

setAlphaStorage(TiffAlphaStorageEnum alphaStorage)

public void setAlphaStorage(TiffAlphaStorageEnum alphaStorage)

Gets or sets the alpha storage option. Options other than TiffAlphaStorage.Unspecified are used when there are more than 3 SamplesPerPixel defined.

Parameters:

ParameterTypeDescription
alphaStorageTiffAlphaStorageEnumThe alpha storage option.

isExtraSamplesPresent()

public boolean isExtraSamplesPresent()

Gets a value indicating whether the extra samples is present.

Returns: boolean - true if the extra samples is present; otherwise, false .

getFillOrder()

public TiffFillOrdersEnum getFillOrder()

Gets or sets the byte bits fill order.

Returns: TiffFillOrdersEnum - The byte bits fill order.

setFillOrder(TiffFillOrdersEnum fillOrder)

public void setFillOrder(TiffFillOrdersEnum fillOrder)

Gets or sets the byte bits fill order.

Parameters:

ParameterTypeDescription
fillOrderTiffFillOrdersEnumThe byte bits fill order.

getHalfToneHints()

public int[] getHalfToneHints()

Gets or sets the halftone hints.

Returns: int[] - The halftone hints.

Throws:

  • com.aspose.ms.System.ArgumentNullException - value
  • com.aspose.ms.System.ArgumentOutOfRangeException - value;Halftone hints array length must be equal to 2.

setHalfToneHints(int[] value)

public void setHalfToneHints(int[] value)

Gets or sets the halftone hints.

Parameters:

ParameterTypeDescription
valueint[]The halftone hints.

Throws:

  • com.aspose.ms.System.ArgumentNullException - value
  • com.aspose.ms.System.ArgumentOutOfRangeException - value;Halftone hints array length must be equal to 2.

getImageDescription()

public String getImageDescription()

Gets or sets the image description.

Returns: String - The image description.

setImageDescription(String value)

public void setImageDescription(String value)

Gets or sets the image description.

Parameters:

ParameterTypeDescription
valueStringThe image description.

getInkNames()

public String getInkNames()

Gets or sets the ink names.

Returns: String - The ink names.

setInkNames(String value)

public void setInkNames(String value)

Gets or sets the ink names.

Parameters:

ParameterTypeDescription
valueStringThe ink names.

getScannerManufacturer()

public String getScannerManufacturer()

Gets or sets the scanner manufacturer.

Returns: String - The scanner manufacturer.

setScannerManufacturer(String value)

public void setScannerManufacturer(String value)

Gets or sets the scanner manufacturer.

Parameters:

ParameterTypeDescription
valueStringThe scanner manufacturer.

getMaxSampleValue()

public int[] getMaxSampleValue()

Gets or sets the max sample value.

Returns: int[] - The max sample value.

Throws:

  • com.aspose.ms.System.ArgumentNullException - value
  • com.aspose.ms.System.ArgumentOutOfRangeException - value;The array length must correspond to the samples per pixel count.

setMaxSampleValue(int[] value)

public void setMaxSampleValue(int[] value)

Gets or sets the max sample value.

Parameters:

ParameterTypeDescription
valueint[]The max sample value.

Throws:

  • com.aspose.ms.System.ArgumentNullException - value
  • com.aspose.ms.System.ArgumentOutOfRangeException - value;The array length must correspond to the samples per pixel count.

getMinSampleValue()

public int[] getMinSampleValue()

Gets or sets the min sample value.

Returns: int[] - The min sample value.

Throws:

  • com.aspose.ms.System.ArgumentNullException - value
  • com.aspose.ms.System.ArgumentOutOfRangeException - value;The array length must correspond to the samples per pixel count.

setMinSampleValue(int[] value)

public void setMinSampleValue(int[] value)

Gets or sets the min sample value.

Parameters:

ParameterTypeDescription
valueint[]The min sample value.

Throws:

  • com.aspose.ms.System.ArgumentNullException - value
  • com.aspose.ms.System.ArgumentOutOfRangeException - value;The array length must correspond to the samples per pixel count.

getScannerModel()

public String getScannerModel()

Gets or sets the scanner model.

Returns: String - The scanner model.

setScannerModel(String value)

public void setScannerModel(String value)

Gets or sets the scanner model.

Parameters:

ParameterTypeDescription
valueStringThe scanner model.

getOrientation()

public TiffOrientationsEnum getOrientation()

Gets or sets the orientation.

Returns: TiffOrientationsEnum - The orientation.

setOrientation(TiffOrientationsEnum orientation)

public void setOrientation(TiffOrientationsEnum orientation)

Gets or sets the orientation.

Parameters:

ParameterTypeDescription
orientationTiffOrientationsEnumThe orientation.

getPageName()

public String getPageName()

Gets or sets the page name.

Returns: String - The page name.

setPageName(String value)

public void setPageName(String value)

Gets or sets the page name.

Parameters:

ParameterTypeDescription
valueStringThe page name.

getPageNumber()

public int[] getPageNumber()

Gets or sets the page number tag.

Returns: int[] - The page number tag.

Throws:

  • com.aspose.ms.System.ArgumentNullException - value
  • com.aspose.ms.System.ArgumentOutOfRangeException - value;Expected 2 values in the array: PageNumber[0] is the page number and PageNumber[1] is the total number of pages in the document.

setPageNumber(int[] value)

public void setPageNumber(int[] value)

Gets or sets the page number tag.

Parameters:

ParameterTypeDescription
valueint[]The page number tag.

Throws:

  • com.aspose.ms.System.ArgumentNullException - value
  • com.aspose.ms.System.ArgumentOutOfRangeException - value;Expected 2 values in the array: PageNumber[0] is the page number and PageNumber[1] is the total number of pages in the document.

getPhotometric()

public TiffPhotometricsEnum getPhotometric()

Gets or sets the photometric.

Returns: TiffPhotometricsEnum - The photometric.

setPhotometric(TiffPhotometricsEnum photometric)

public void setPhotometric(TiffPhotometricsEnum photometric)

Gets or sets the photometric.

Parameters:

ParameterTypeDescription
photometricTiffPhotometricsEnumThe photometric.

getPlanarConfiguration()

public TiffPlanarConfigsEnum getPlanarConfiguration()

Gets or sets the planar configuration.

Returns: TiffPlanarConfigsEnum - The planar configuration.

setPlanarConfiguration(TiffPlanarConfigsEnum planarConfiguration)

public void setPlanarConfiguration(TiffPlanarConfigsEnum planarConfiguration)

Gets or sets the planar configuration.

Parameters:

ParameterTypeDescription
planarConfigurationTiffPlanarConfigsEnumThe planar configuration.

getResolutionUnit()

public TiffResolutionUnitsEnum getResolutionUnit()

Gets or sets the resolution unit.

Returns: TiffResolutionUnitsEnum - The resolution unit.

setResolutionUnit(TiffResolutionUnitsEnum resolutionUnitsEnum)

public void setResolutionUnit(TiffResolutionUnitsEnum resolutionUnitsEnum)

Gets or sets the resolution unit.

Parameters:

ParameterTypeDescription
resolutionUnitsEnumTiffResolutionUnitsEnumThe resolution unit.

getRowsPerStrip()

public long getRowsPerStrip()

Gets or sets the rows per strip.

Returns: long - The rows per strip.

setRowsPerStrip(long value)

public void setRowsPerStrip(long value)

Gets or sets the rows per strip.

Parameters:

ParameterTypeDescription
valuelongThe rows per strip.

getTileWidth()

public long getTileWidth()

Gets ot sets tile width.

Returns: long

setTileWidth(long value)

public void setTileWidth(long value)

Gets ot sets tile width.

getTileLength()

public long getTileLength()

Gets ot sets tile length.

Returns: long

setTileLength(long value)

public void setTileLength(long value)

Gets ot sets tile length.

getSampleFormat()

public TiffSampleFormatsEnum[] getSampleFormat()

Gets or sets the sample format.

Returns: TiffSampleFormatsEnum[] - The sample format.

Throws:

  • com.aspose.ms.System.ArgumentNullException - value
  • com.aspose.ms.System.ArgumentOutOfRangeException - value;The array length must correspond to the samples per pixel count.

setSampleFormat(TiffSampleFormatsEnum[] sampleFormats)

public void setSampleFormat(TiffSampleFormatsEnum[] sampleFormats)

Gets or sets the sample format.

Parameters:

ParameterTypeDescription
sampleFormatsTiffSampleFormatsEnum[]The sample format.

Throws:

  • com.aspose.ms.System.ArgumentNullException - value
  • com.aspose.ms.System.ArgumentOutOfRangeException - value;The array length must correspond to the samples per pixel count.

getSamplesPerPixel()

public int getSamplesPerPixel()

Gets the samples per pixel. To change this property value use the BitsPerSample property setter.

Returns: int - The samples per pixel.

getSmaxSampleValue()

public long[] getSmaxSampleValue()

Gets or sets the max sample value. The value has a field type which best matches the sample data (Byte, Short or Long type).

Returns: long[] - The max sample value.

setSmaxSampleValue(long[] value)

public void setSmaxSampleValue(long[] value)

Gets or sets the max sample value. The value has a field type which best matches the sample data (Byte, Short or Long type).

Parameters:

ParameterTypeDescription
valuelong[]The max sample value.

getSminSampleValue()

public long[] getSminSampleValue()

Gets or sets the min sample value. The value has a field type which best matches the sample data (Byte, Short or Long type).

Returns: long[] - The min sample value.

setSminSampleValue(long[] value)

public void setSminSampleValue(long[] value)

Gets or sets the min sample value. The value has a field type which best matches the sample data (Byte, Short or Long type).

Parameters:

ParameterTypeDescription
valuelong[]The min sample value.

getSoftwareType()

public String getSoftwareType()

Gets or sets the software type.

Returns: String - The software type.

setSoftwareType(String value)

public void setSoftwareType(String value)

Gets or sets the software type.

Parameters:

ParameterTypeDescription
valueStringThe software type.

getStripByteCounts()

public long[] getStripByteCounts()

Gets or sets the strip byte counts.

Returns: long[] - The strip byte counts.

setStripByteCounts(long[] value)

public void setStripByteCounts(long[] value)

Gets or sets the strip byte counts.

Parameters:

ParameterTypeDescription
valuelong[]The strip byte counts.

getStripOffsets()

public long[] getStripOffsets()

Gets or sets the strip offsets.

Returns: long[] - The strip offsets.

setStripOffsets(long[] value)

public void setStripOffsets(long[] value)

Gets or sets the strip offsets.

Parameters:

ParameterTypeDescription
valuelong[]The strip offsets.

getTileByteCounts()

public long[] getTileByteCounts()

Gets or sets the tile byte counts.

Returns: long[]

setTileByteCounts(long[] value)

public void setTileByteCounts(long[] value)

Gets or sets the tile byte counts.

getTileOffsets()

public long[] getTileOffsets()

Gets or sets the tile offsets.

Returns: long[]

setTileOffsets(long[] value)

public void setTileOffsets(long[] value)

Gets or sets the tile offsets.

getSubFileType()

public TiffNewSubFileTypesEnum getSubFileType()

Gets or sets a general indication of the kind of data contained in this subfile.

Returns: TiffNewSubFileTypesEnum - The general indication of the kind of data contained in this subfile.

setSubFileType(TiffNewSubFileTypesEnum subFileType)

public void setSubFileType(TiffNewSubFileTypesEnum subFileType)

Gets or sets a general indication of the kind of data contained in this subfile.

Parameters:

ParameterTypeDescription
subFileTypeTiffNewSubFileTypesEnumThe general indication of the kind of data contained in this subfile.

getTargetPrinter()

public String getTargetPrinter()

Gets or sets the target printer.

Returns: String - The target printer.

setTargetPrinter(String value)

public void setTargetPrinter(String value)

Gets or sets the target printer.

Parameters:

ParameterTypeDescription
valueStringThe target printer.

getThreshholding()

public TiffThresholdsEnum getThreshholding()

Gets or sets the threshholding.

Returns: TiffThresholdsEnum - The threshholding.

setThreshholding(TiffThresholdsEnum threshholding)

public void setThreshholding(TiffThresholdsEnum threshholding)

Gets or sets the threshholding.

Parameters:

ParameterTypeDescription
threshholdingTiffThresholdsEnumThe threshholding.

getTotalPages()

public int getTotalPages()

Gets the total pages.

Returns: int - The total pages.

getXposition()

public com.aspose.cad.fileformats.tiff.TiffRational getXposition()

Gets or sets the x position.

Returns: com.aspose.cad.fileformats.tiff.TiffRational - The x position.

setXposition(com.aspose.cad.fileformats.tiff.TiffRational value)

public void setXposition(com.aspose.cad.fileformats.tiff.TiffRational value)

Gets or sets the x position.

Parameters:

ParameterTypeDescription
valuecom.aspose.cad.fileformats.tiff.TiffRationalThe x position.

getResolutionSettings()

public com.aspose.cad.ResolutionSetting getResolutionSettings()

Gets or sets the resolution settings.

Returns: com.aspose.cad.ResolutionSetting - the resolution settings

setResolutionSettings(com.aspose.cad.ResolutionSetting value)

public void setResolutionSettings(com.aspose.cad.ResolutionSetting value)

Gets or sets the resolution settings.

Parameters:

ParameterTypeDescription
valuecom.aspose.cad.ResolutionSettingthe value

getXresolution()

public com.aspose.cad.fileformats.tiff.TiffRational getXresolution()

Gets or sets the x resolution.

Returns: com.aspose.cad.fileformats.tiff.TiffRational - The x resolution.

setXresolution(com.aspose.cad.fileformats.tiff.TiffRational value)

public void setXresolution(com.aspose.cad.fileformats.tiff.TiffRational value)

Gets or sets the x resolution.

Parameters:

ParameterTypeDescription
valuecom.aspose.cad.fileformats.tiff.TiffRationalThe x resolution.

getYposition()

public com.aspose.cad.fileformats.tiff.TiffRational getYposition()

Gets or sets the y position.

Returns: com.aspose.cad.fileformats.tiff.TiffRational - The y position.

setYposition(com.aspose.cad.fileformats.tiff.TiffRational value)

public void setYposition(com.aspose.cad.fileformats.tiff.TiffRational value)

Gets or sets the y position.

Parameters:

ParameterTypeDescription
valuecom.aspose.cad.fileformats.tiff.TiffRationalThe y position.

getYresolution()

public com.aspose.cad.fileformats.tiff.TiffRational getYresolution()

Gets or sets the y resolution.

Returns: com.aspose.cad.fileformats.tiff.TiffRational - The y resolution.

setYresolution(com.aspose.cad.fileformats.tiff.TiffRational value)

public void setYresolution(com.aspose.cad.fileformats.tiff.TiffRational value)

Gets or sets the y resolution.

Parameters:

ParameterTypeDescription
valuecom.aspose.cad.fileformats.tiff.TiffRationalThe y resolution.

getFaxT4Options()

public Group3OptionsEnum getFaxT4Options()

Gets or sets the fax t4 options.

Returns: Group3OptionsEnum - The fax t4 options.

setFaxT4Options(Group3OptionsEnum value)

public void setFaxT4Options(Group3OptionsEnum value)

Gets or sets the fax t4 options.

Parameters:

ParameterTypeDescription
valueGroup3OptionsEnumThe fax t4 options.

getPredictor()

public TiffPredictorEnum getPredictor()

Gets or sets the predictor for LZW compression.

Returns: TiffPredictorEnum - The predictor type.

setPredictor(TiffPredictorEnum predictor)

public void setPredictor(TiffPredictorEnum predictor)

Gets or sets the predictor for LZW compression.

Parameters:

ParameterTypeDescription
predictorTiffPredictorEnumThe predictor type.

getImageLength()

public long getImageLength()

Gets or sets the image length.

Returns: long - The image length.

setImageLength(long value)

public void setImageLength(long value)

Gets or sets the image length.

Parameters:

ParameterTypeDescription
valuelongThe image length.

getImageWidth()

public long getImageWidth()

Gets or sets the image width.

Returns: long - The image width.

setImageWidth(long value)

public void setImageWidth(long value)

Gets or sets the image width.

Parameters:

ParameterTypeDescription
valuelongThe image width.

getExifIfd()

public com.aspose.cad.fileformats.tiff.TiffExifIfd getExifIfd()

Gets or sets the pointer to EXIF IFD.

Returns: com.aspose.cad.fileformats.tiff.TiffExifIfd - The pointer to EXIF IFD.

getTags()

public com.aspose.cad.fileformats.tiff.TiffDataType[] getTags()

Gets or sets the tags.

Returns: com.aspose.cad.fileformats.tiff.TiffDataType[] - The tags.

setTags(com.aspose.cad.fileformats.tiff.TiffDataType[] value)

public void setTags(com.aspose.cad.fileformats.tiff.TiffDataType[] value)

Gets or sets the tags.

Parameters:

ParameterTypeDescription
valuecom.aspose.cad.fileformats.tiff.TiffDataType[]The tags.

getValidTagCount()

public int getValidTagCount()

Gets the valid tag count. This is not the total tags count but the number of tags which may be preserved.

Returns: int - The valid tag count.

getBitsPerPixel()

public int getBitsPerPixel()

Gets the bits per pixel.

Returns: int - The bits per pixel.

removeTag(int tag)

public boolean removeTag(int tag)

Removes the tag.

Parameters:

ParameterTypeDescription
tagintThe tag to remove.

Returns: boolean - true if successfully removed

removeTag(TiffTagsEnum tag)

public boolean removeTag(TiffTagsEnum tag)

Returns: boolean

addTags(com.aspose.cad.fileformats.tiff.TiffDataType[] tagsToAdd)

public void addTags(com.aspose.cad.fileformats.tiff.TiffDataType[] tagsToAdd)

Adds the tags.

Parameters:

ParameterTypeDescription
tagsToAddcom.aspose.cad.fileformats.tiff.TiffDataType[]The tags to add.

addTag(com.aspose.cad.fileformats.tiff.TiffDataType tagToAdd)

public void addTag(com.aspose.cad.fileformats.tiff.TiffDataType tagToAdd)

Adds a new tag.

Parameters:

ParameterTypeDescription
tagToAddcom.aspose.cad.fileformats.tiff.TiffDataTypeThe tag to add.

getTagByType(TiffTagsEnum tagKey)

public com.aspose.cad.fileformats.tiff.TiffDataType getTagByType(TiffTagsEnum tagKey)

Gets the instance of the tag by type.

Parameters:

ParameterTypeDescription
tagKeyTiffTagsEnumThe tag key.

Returns: com.aspose.cad.fileformats.tiff.TiffDataType - Instance of the tag if exists or null otherwise.

getExpectedFormat()

public TiffExpectedFormatEnum getExpectedFormat()

Gets expected tiff file format.

Returns: TiffExpectedFormatEnum - expected tiff file format.

setExpectedFormat(TiffExpectedFormatEnum expectedFormat)

public void setExpectedFormat(TiffExpectedFormatEnum expectedFormat)

Gets expected tiff file format.

Parameters:

ParameterTypeDescription
expectedFormatTiffExpectedFormatEnumExpected tiff file format..

setPropertyValues(Object object)

public void setPropertyValues(Object object)