Accusoft.TwainPro9.Net
Compression Property (ScannedImageData)




Gets the compression of the image.
Syntax
'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();
}

Property Value

A ScannedImageCompression enumeration value which determines the compression of the image.
Remarks

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.

See Also

Reference

ScannedImageData Class
ScannedImageData Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback