On this page you will learn from code samples for programming in VB.NET. ByteScout Watermarking SDK was made to help with batch watermarking in VB.NET. ByteScout Watermarking SDK is the powerful SDK can apply high quality visible and semivisible watermarks into PNG, JPG, BMP pictures and TIFF scans. Doznes of presets are available, multiple watermarks can be applied. Can add logo based watermark from image, can adjust font size, font family, colors.
VB.NET code samples for VB.NET developers help to speed up the application’s code writing when using ByteScout Watermarking SDK. This VB.NET sample code should be copied and pasted into your project. After doing this just compile your project and click Run. Code testing will allow the function to be tested and work properly with your data.
Our website provides free trial version of ByteScout Watermarking SDK that includes source code samples to help with your VB.NET project.
Imports Bytescout.Watermarking Module Module1 Sub Main() ' Create Watermarker instance Dim waterMarker As New Watermarker() ' Initialize library waterMarker.InitLibrary("demo", "demo") ' Add images to apply watermarks to waterMarker.AddInputFile("my_sample_image2.jpg", "my_sample_image2_output.jpg") waterMarker.AddInputFile("my_sample_image3.jpg", "my_sample_image3_output.jpg") ' Create new watermark Dim preset As New Presets.TextFitsPage() ' Set watermark text preset.Text = "Bytescout Watermarking" ' Add watermark to watermarker waterMarker.AddWatermark(preset) ' Apply watermarks waterMarker.Execute() End Sub End Module