←Select platform

EnhanceThinLines Property

Summary
Indicates whether to enhance thin lines when loading PDF files.
Syntax
C#
VB
Objective-C
C++
Java
public bool EnhanceThinLines {get; set;} 
Public Property EnhanceThinLines As Boolean 
@property (nonatomic, assign) BOOL EnhanceThinLines 
public boolean getEnhanceThinLines() 
public void setEnhanceThinLines(boolean value) 
public:  
   property bool EnhanceThinLines 
   { 
      bool get() 
      void set(bool value) 
   } 

Property Value

true to enhance thin lines when loading PDF files; otherwise, false. The default value is true.

Remarks

The default value is true, meaning thin lines are enhanced by default. Set EnhanceThinLines to false makes the lines less visible.

Lines are considered "thin lines" if they have a width of less than 2 when loaded at 72 DPI.

Example
C#
VB
using Leadtools; 
using Leadtools.Codecs; 
 
 
public static void CodecsEnhanceThinLinesOption_Example() 
{ 
   /* The following example shows you how to disable the thin line enhancement property */ 
   RasterCodecs codecs = new RasterCodecs(); 
   codecs.Options.Pdf.Load.EnhanceThinLines = false; 
   string inputFile = @"MyFile.PDF"; 
   RasterImage rawImage = codecs.Load(inputFile, 24, CodecsLoadByteOrder.RgbOrGray, 1, -1); 
} 
Imports Leadtools 
Imports Leadtools.Codecs 
 
Public Shared Sub CodecsEnhanceThinLinesOption_Example() 
   ' The following example shows you how to disable the thin line enhancement property  
   Dim codecs As RasterCodecs = New RasterCodecs() 
   codecs.Options.Pdf.Load.EnhanceThinLines = False 
   Dim inputFile As String = "MyFile.PDF" 
   Dim rawImage As RasterImage = codecs.Load(inputFile, 24, CodecsLoadByteOrder.RgbOrGray, 1, -1) 
End Sub 
Help Version 22.0.2022.1.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.