ByteScout tutorials explain the code material for beginners and advanced programmers who are using VB.NET. ByteScout Watermarking SDK helps with text fits page diagonal 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 snippet like this for ByteScout Watermarking SDK works best when you need to quickly implement text fits page diagonal in your VB.NET application. Sample code in VB.NET is all you need. Copy-paste it to your the code editor, then add a reference to ByteScout Watermarking SDK and you are ready to try it! Use of ByteScout Watermarking SDK in VB.NET is also explained in the documentation included along with the product.
ByteScout free trial version is available for FREE download from our website. Programming tutorials along with source code samples are included.
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.TextFitsPageDiagonal() ' Set watermark text preset.Text = "Bytescout Watermarking" ' 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