Leadtools.Pdf Requires PDF Plug-in license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
SegmentQuality Property
See Also 
Leadtools.Pdf Namespace > PdfCompressorOptions Structure : SegmentQuality Property



Gets or sets a threshold value used to determine whether the segment is a picture segment.

Syntax

Visual Basic (Declaration) 
Public Property SegmentQuality As Integer
Visual Basic (Usage)Copy Code
Dim instance As PdfCompressorOptions
Dim value As Integer
 
instance.SegmentQuality = value
 
value = instance.SegmentQuality
C# 
public int SegmentQuality {get; set;}
C++/CLI 
public:
property int SegmentQuality {
   int get();
   void set (int value);
}

Return Value

Possible values range from 0 to 100.

Example

Refer to PdfCompressor example.

Remarks

Use 0 to set all possible picture segments to 2-bits without the loss of a lot of information.

Use 100 to set all picture segments to 2-bits only if they are very close to 2-bits.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Pdf requires a PDF Plug-in license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features