TiffOptions class
TiffOptions class
The tiff file format options. Note that width and height tags will get overwritten on image creation by width and height parameters so there is no need to specify them directly. Note that many options return a default value but that does not mean that this option is set explicitly as a tag value. To verify the tag is present use Tags property or the corresponding IsTagPresent method.
Inheritance: TiffOptions
→
ImageOptionsBase
The TiffOptions type exposes the following members:
Constructors
Constructor | Description |
---|---|
init | Initializes a new instance of the TiffOptions class. |
init | Initializes a new instance of the TiffOptions class. By default little endian convention is used. |
init | Initializes a new instance of the TiffOptions class. |
init | Initializes a new instance of the TiffOptions class. |
Properties
Property | Description |
---|---|
target_format | |
rotation | Gets or sets the parameter for rotate, flip, or rotate and flip the image.. |
layers | Gets or sets a of layer names must be exported. All data will be exported without layers if names is not sets. |
xmp_data | Gets or sets the XMP metadata container. |
source | Gets or sets the source to create image in. |
palette | Gets or sets the color palette. |
resolution_settings | Gets or sets the resolution settings. |
vector_rasterization_options | Gets or sets the vector rasterization options. |
timeout | Timeout value for export operation (in milliseconds) |
pc_3_file | Gets or sets the PC3 file full name. |
user_watermark_text | Text for user-generated watermark |
user_watermark_color | Color for user-generated watermark |
is_valid | Gets a value indicating whether the TiffOptions have been properly configured. Use Validate method as to find the failure reason. |
artist | Gets or sets the artist. |
byte_order | Gets or sets a value indicating the tiff byte order. |
bits_per_sample | Gets or sets the bits per sample. |
compression | Gets or sets the compression. |
copyright | Gets or sets the copyright. |
color_map | Gets or sets the color map. |
date_time | Gets or sets the date and time. |
document_name | Gets or sets the name of the document. |
alpha_storage | Gets or sets the alpha storage option. Options other than TiffAlphaStorage.UNSPECIFIED are used when there are more than 3 TiffOptions.samples_per_pixel defined. |
is_extra_samples_present | Gets a value indicating whether the extra samples is present. |
fill_order | Gets or sets the byte bits fill order. |
half_tone_hints | Gets or sets the halftone hints. |
image_description | Gets or sets the image description. |
ink_names | Gets or sets the ink names. |
scanner_manufacturer | Gets or sets the scanner manufacturer. |
max_sample_value | Gets or sets the max sample value. |
min_sample_value | Gets or sets the min sample value. |
scanner_model | Gets or sets the scanner model. |
orientation | Gets or sets the orientation. |
page_name | Gets or sets the page name. |
page_number | Gets or sets the page number tag. |
photometric | Gets or sets the photometric. |
planar_configuration | Gets or sets the planar configuration. |
resolution_unit | Gets or sets the resolution unit. |
rows_per_strip | Gets or sets the rows per strip. |
sample_format | Gets or sets the sample format. |
samples_per_pixel | Gets the samples per pixel. To change this property value use the TiffOptions.bits_per_sample property setter. |
smax_sample_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). |
smin_sample_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). |
software_type | Gets or sets the software type. |
strip_byte_counts | Gets or sets the strip byte counts. |
strip_offsets | Gets or sets the strip offsets. |
sub_file_type | Gets or sets a general indication of the kind of data contained in this subfile. |
target_printer | Gets or sets the target printer. |
threshholding | Gets or sets the threshholding. |
total_pages | Gets the total pages. |
xposition | Gets or sets the x position. |
xresolution | Gets or sets the x resolution. |
yposition | Gets or sets the y position. |
yresolution | Gets or sets the y resolution. |
fax_t4_options | Gets or sets the fax t4 options. |
predictor | Gets or sets the predictor for LZW compression. |
image_length | Gets or sets the image length. |
image_width | Gets or sets the image width. |
tags | Gets or sets the tags. |
valid_tag_count | Gets the valid tag count. This is not the total tags count but the number of tags which may be preserved. |
bits_per_pixel | Gets the bits per pixel. |
Methods
Method | Description |
---|---|
is_tag_present | Determines whether tag is present in the options or not. |
get_valid_tags_count | Gets the valid tags count. |
remove_tag | Removes the tag. |
validate | Validates if options have valid combination of tags |
add_tags | Adds the tags. |
add_tag | Adds a new tag. |
get_tag_by_type | Gets the instance of the tag by type. |
See Also
- module
aspose.cad.imageoptions
- class
ImageOptionsBase
- class
TiffOptions