Accusoft.TwainProSdk Namespace > ScannedImageData Class : Compression Property |
'Declaration <DescriptionAttribute("Returns the compression of the image.")> <BrowsableAttribute(False)> <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> Public ReadOnly Property Compression As ScannedImageCompression
'Usage Dim instance As ScannedImageData Dim value As ScannedImageCompression value = instance.Compression
[Description("Returns the compression of the image.")] [Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public ScannedImageCompression Compression {get;}
[Description("Returns the compression of the image.")] [Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public: __property ScannedImageCompression get_Compression();
[Description("Returns the compression of the image.")] [Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public: property ScannedImageCompression Compression { ScannedImageCompression get(); }
Note: This property is available at runtime and is read-only.
TwcpNone means that the image is in an uncompressed DIB format and can be accessed through the ToHdib, ToBitmap, ToHbitmap, or SaveStream methods.
TwcpJpeg means that the image is in a JPEG format and should be accessed through the SaveStream method.
All other values mean that the image is in a TIFF format and should be accessed through the SaveStream method.