Accusoft.TwainProSdk Namespace > SaveOptionsPdf Class : EncodeModeCompression Property |
'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); }
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.