These sample source codes on this page below are displaying how to remove text with pdf extractor sdk in VB.NET. ByteScout Premium Suite can remove text with pdf extractor sdk. It can be applied from VB.NET. ByteScout Premium Suite is the set that includes 12 SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording.
This prolific sample source code in VB.NET for ByteScout Premium Suite contains various functions and other necessary options you should do calling the API to remove text with pdf extractor sdk. Follow the instructions from scratch to work and copy the VB.NET code. Applying VB.NET application mostly includes various stages of the software development so even if the functionality works please test it with your data and the production environment.
The trial version of ByteScout Premium Suite can be downloaded for free from our website. It also includes source code samples for VB.NET and other programming languages.
On-demand (REST Web API) version:
Web API (on-demand version)
On-premise offline SDK for Windows:
60 Day Free Trial (on-premise)
Imports System.Drawing Imports Bytescout.PDFExtractor Class Program Shared Sub Main(ByVal args As String()) ' Create Bytescout.PDFExtractor.Remover instance Dim remover As New Remover("demo", "demo") ' Load sample PDF document remover.LoadDocumentFromFile("sample1.pdf") ' Remove text "LOREM IPSUM" and save edited document as "result1.pdf". ' NOTE: The removed text might be larger than the search string. Currently the Remover deletes ' the whole PDF text object containing the search string. remover.RemoveText(0, "LOREM IPSUM", True, "result1.pdf") ' Remove text objects contained in the specified rectangle or intersecting with it. ' NOTE: The removed text might be larger than the specified rectangle. Currently the Remover is unable ' to split PDF text objects. remover.RemoveText(0, New RectangleF(74.0F, 550.0F, 489.0F, 67.0F), "result2.pdf") ' Remove text object contained in the specified point. ' NOTE: The removed text might be larger than a word in the specified point. Currently the Remover is able ' to remove only the whole PDF text object containing the word. remover.RemoveText(0, New PointF(121.0F, 230.0F), "result3.pdf") ' Clean up. remover.Dispose() Console.WriteLine() Console.WriteLine("Press any key to continue and open result PDF files in default PDF viewer...") Console.ReadKey() Process.Start("result1.pdf") Process.Start("result2.pdf") Process.Start("result3.pdf") End Sub End Class
60 Day Free Trial or Visit ByteScout Premium Suite Home Page
Explore ByteScout Premium Suite Documentation
Explore Samples
Sign Up for ByteScout Premium Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
60 Day Free Trial or Visit ByteScout Premium Suite Home Page
Explore ByteScout Premium Suite Documentation
Explore Samples
Sign Up for ByteScout Premium Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
also available as: