ByteScout Watermarking SDK - VB.NET - Add Diagonal Text with Images with Options - ByteScout

ByteScout Watermarking SDK – VB.NET – Add Diagonal Text with Images with Options

  • Home
  • /
  • Articles
  • /
  • ByteScout Watermarking SDK – VB.NET – Add Diagonal Text with Images with Options

How to add diagonal text with images with options for textfitspagediagonal (vb in VB.NET using ByteScout Watermarking SDK

Learn how to add diagonal text with images with options to have textfitspagediagonal (vb in VB.NET

Source code documentation samples provide quick and easy way to add a required functionality into your application. ByteScout Watermarking SDK helps with textfitspagediagonal (vb 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.

The SDK samples like this one below explain how to quickly make your application do textfitspagediagonal (vb in VB.NET with the help of ByteScout Watermarking SDK. Follow the instruction and copy – paste code for VB.NET into your project’s code editor. Enjoy writing a code with ready-to-use sample VB.NET codes to add textfitspagediagonal (vb functions using ByteScout Watermarking SDK in VB.NET.

ByteScout Watermarking SDK – free trial version is on available our website. Also, there are other code samples to help you with your VB.NET application included into trial version.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

Module1.vb
      
Imports System.Drawing Imports Bytescout.Watermarking Imports Bytescout.Watermarking.Presets Module Module1 Sub Main() ' Create Watermarker instance Dim watermarker As New Watermarker() Dim inputFilePath As String Dim outputFilePath As String ' Initialize library watermarker.InitLibrary("demo", "demo") ' Set input file name inputFilePath = "my_sample_image.jpg" ' Set output file title outputFilePath = "my_sample_output.jpg" ' Add image to apply watermarks to watermarker.AddInputFile(inputFilePath, outputFilePath) ' Create new watermark Dim preset As New TextFitsPageDiagonal() ' Set watermark text preset.Text = "Bytescout Watermarking" ' Set watermark font preset.Font = New WatermarkFont("Tahoma", FontStyle.Regular, FontSizeType.Points, 30) ' Set watermark text color preset.TextColor = Color.Black ' Set text transparency preset.Transparency = 40 ' Set watermark orientation preset.Orientation = DiagonalOrientation.FromTopLeftToBottomRight ' Add watermark to watermarker watermarker.AddWatermark(preset) ' Set output directory watermarker.OutputOptions.OutputDirectory = "." ' Set output format watermarker.OutputOptions.ImageFormat = OutputFormats.JPEG ' Apply watermarks watermarker.Execute() ' open generated image file in default image viewer installed in Windows Process.Start(outputFilePath) End Sub End Module

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Watermarking SDK Home Page

Explore ByteScout Watermarking SDK Documentation

Explore Samples

Sign Up for ByteScout Watermarking SDK Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

VIDEO

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Watermarking SDK Home Page

Explore ByteScout Watermarking SDK Documentation

Explore Samples

Sign Up for ByteScout Watermarking SDK Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next