ByteScout Watermarking SDK - VB.NET - Add While Page Text Watermark to Image - ByteScout

ByteScout Watermarking SDK – VB.NET – Add While Page Text Watermark to Image

  • Home
  • /
  • Articles
  • /
  • ByteScout Watermarking SDK – VB.NET – Add While Page Text Watermark to Image

How to add while page text watermark to image for text fits page in VB.NET and ByteScout Watermarking SDK

How to add while page text watermark to image in VB.NET with easy ByteScout code samples to make text fits page. Step-by-step tutorial

Writing of the code to add while page text watermark to image in VB.NET can be done by developers of any level using ByteScout Watermarking SDK. ByteScout Watermarking SDK helps with text fits page in VB.NET. ByteScout Watermarking SDK is the library for software developers that can be used to quickly add image watermarking features into your web or desktop applications. Use ready to use presets or create your own to be applied for input PNG, JPG, BMP images. Can customize fonts, text position and rotation if required.

You will save a lot of time on writing and testing code as you may just take the code below and use it in your application. For implimentation of this functionality, please copy and paste code below into your app using code editor. Then compile and run your app. Use of ByteScout Watermarking SDK in VB.NET is also explained in the documentation included along with the product.

Our website provides free trial version of ByteScout Watermarking SDK that includes source code samples to help with your VB.NET project.

Try ByteScout Watermarking SDK today:  60 Day Free Trial (on-premise) or  Web API (on-demand version)

Module1.vb
      
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.TextFitsPage() ' 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

Try ByteScout Watermarking SDK today:  60 Day Free Trial (on-premise) or  Web API (on-demand version)

VIDEO

ON-PREMISE VERSION INFORMATION

Get 60 Day Free Trial or Visit ByteScout Watermarking SDK Home Page

Explore ByteScout Watermarking SDK Documentation

Get ByteScout Watermarking SDK Free Training

WEB API

Get Your Free API Key

Explore Web API Documentation

Tutorials:

prev
next