LEADTOOLS PDF Segmentation (Leadtools.Pdf assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
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);
}

Property 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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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