ImageGear .NET - Updated
Compression Property (ImGearTIFFMetadata)




ImageGear24.Formats.SimplifiedMetadata Assembly > ImageGear.Formats.TIF Namespace > ImGearTIFFMetadata Class : Compression Property
Gets or sets Compression tag value.
Syntax
'Declaration
 
Public Property Compression As Nullable(Of ImGearTIFFCompression)
'Usage
 
Dim instance As ImGearTIFFMetadata
Dim value As Nullable(Of ImGearTIFFCompression)
 
instance.Compression = value
 
value = instance.Compression
public Nullable<ImGearTIFFCompression> Compression {get; set;}
public: __property Nullable<ImGearTIFFCompression> get_Compression();
public: __property void set_Compression( 
   Nullable<ImGearTIFFCompression> value
);
public:
property Nullable<ImGearTIFFCompression> Compression {
   Nullable<ImGearTIFFCompression> get();
   void set (    Nullable<ImGearTIFFCompression> value);
}

Property Value

Nullable (boxed) ImGearTIFFCompression enumeration value.
Remarks
This property accesses the Compression tag. The tag specifies the compression scheme used on the image data.

Get accessor returns the tag value if the tag is present in the metadata tree, or null otherwise.

Set accessor replaces the current tag value if the tag is present in the metadata tree, adds the tag if it was not present, or deletes the tag if a null value is passed.

ImageGear ignores the value of this tag during image saving, and saves a value that corresponds to the saved image DIB's parameters.

See the TIFF 6.0 specification for tag usage details.

See Also

Reference

ImGearTIFFMetadata Class
ImGearTIFFMetadata Members
ImGearTIFFCompression Enumeration