Gets or sets a value that indicates whether to enhance thin lines when loading PDF files.
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)
}
true to enhance thin lines when loading PDF files, false otherwise. Default value is true.
Since this value is on by default, thin lines are enhanced by default. You only need to use this property if you wish to disable this enhancement. Setting 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 72DPI.
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 Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.