ImageGear v26.5 - Updated
ImageGear.Core Assembly / ImageGear.Formats Namespace / ImGearCommonMetadata Class / Compression Property




In This Topic
    Compression Property (ImGearCommonMetadata)
    In This Topic
    Gets or sets compression of the file page from which the image was loaded.
    Syntax
    'Declaration
     
    Public Property Compression As Nullable(Of ImGearCompressions)
    'Usage
     
    Dim instance As ImGearCommonMetadata
    Dim value As Nullable(Of ImGearCompressions)
     
    instance.Compression = value
     
    value = instance.Compression
    public Nullable<ImGearCompressions> Compression {get; set;}
    public: __property Nullable<ImGearCompressions> get_Compression();
    public: __property void set_Compression( 
       Nullable<ImGearCompressions> value
    );
    public:
    property Nullable<ImGearCompressions> Compression {
       Nullable<ImGearCompressions> get();
       void set (    Nullable<ImGearCompressions> value);
    }

    Property Value

    Nullable (boxed) ImGearCompressions enumeration value.
    Remarks
    If the page was created using ImageGear.Core.ImGearRasterPage class or ImageGear.Core.ImGearVectorPage class constructor, or using an image processing method, this property returns null (source file page compression is undefined).
    See Also