On this page you will learn from code samples for programming in VB.NET. ByteScout Watermarking SDK was made to help with tiled text 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.
Fast application programming interfaces of ByteScout Watermarking SDK for VB.NET plus the instruction and the code below will help to learn how to add tiled text watermark. Open your VB.NET project and simply copy & paste the code and then run your app! Enjoy writing a code with ready-to-use sample VB.NET codes to implement tiled text using ByteScout Watermarking SDK.
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") ' Set input file name Dim inputFilePath As String = "my_sample_image.jpg" ' Set output file title Dim outputFilePath As String = "my_sample_output.jpg" ' Add image to apply watermarks to waterMarker.AddInputFile(inputFilePath, outputFilePath) ' Create new watermark Dim preset As New Presets.TiledText() ' Set text preset.Text = "Sample watermark text" ' Set font size preset.Font.Size = 6 preset.Transparency = 25 ' Add watermark to watermarker waterMarker.AddWatermark(preset) ' Set output directory waterMarker.OutputOptions.OutputDirectory = "." ' Apply watermarks waterMarker.Execute() ' open generated image file in default image viewer installed in Windows Process.Start(outputFilePath) End Sub End Module