Accusoft.TwainPro9.Net
EncodeModeCompression Property




Specifies the encoding mode to use when creating a JBIG2 compressed file.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<DefaultValueAttribute()>
<DescriptionAttribute("Specifies the encoding mode to use when creating a JBIG2 compressed file.")>
Public Property EncodeModeCompression As EncodeModeCompression
'Usage
 
Dim instance As SaveOptionsPdf
Dim value As EncodeModeCompression
 
instance.EncodeModeCompression = value
 
value = instance.EncodeModeCompression
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[DefaultValue()]
[Description("Specifies the encoding mode to use when creating a JBIG2 compressed file.")]
public EncodeModeCompression EncodeModeCompression {get; set;}
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[DefaultValue()]
[Description("Specifies the encoding mode to use when creating a JBIG2 compressed file.")]
public: __property EncodeModeCompression get_EncodeModeCompression();
public: __property void set_EncodeModeCompression( 
   EncodeModeCompression value
);
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[DefaultValue()]
[Description("Specifies the encoding mode to use when creating a JBIG2 compressed file.")]
public:
property EncodeModeCompression EncodeModeCompression {
   EncodeModeCompression get();
   void set (    EncodeModeCompression value);
}

Property Value

The EncodeModeCompression value which determines the encoding mode to use when creating a JBIG2 compressed file.
Remarks

The default value is AutoDetect.

Text regions can be encoded as lossless or as lossy according to the encoding mode specified. The lossy modes use the value in SaveOptions.Pdf.LoosenessCompression to control how loose to be when matching symbols and thereby increase compression and reduce file size. Compression means loss, however, and a consequence of higher compression is an increased risk of errors in the reconstructed image.

Specify a larger value of looseness to reduce the compressed file size; use a smaller value to reduce the errors, if any. Halftone regions can be encoded lossy by specifying one of the lossy halftone encoding modes. Alternatively, they can be encoded lossless by using the lossless generic encoding mode.

See Also

Reference

SaveOptionsPdf Class
SaveOptionsPdf Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback