ByteScout Watermarking SDK - C# - Add Tiled Diagonal Text Watermark - ByteScout

ByteScout Watermarking SDK – C# – Add Tiled Diagonal Text Watermark

  • Home
  • /
  • Articles
  • /
  • ByteScout Watermarking SDK – C# – Add Tiled Diagonal Text Watermark

How to add tiled diagonal text watermark for tiled text diagonal in C# and ByteScout Watermarking SDK

How to add tiled diagonal text watermark in C# with easy ByteScout code samples to make tiled text diagonal. Step-by-step tutorial

The documentation is designed to help you to implement the features on your side. ByteScout Watermarking SDK helps with tiled text diagonal in C#. 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.

Fast application programming interfaces of ByteScout Watermarking SDK for C# plus the instruction and the code below will help to learn how to add tiled diagonal text watermark. For implimentation of this functionality, please copy and paste code below into your app using code editor. Then compile and run your app. Enjoy writing a code with ready-to-use sample C# codes to implement tiled text diagonal using ByteScout Watermarking SDK.

ByteScout free trial version is available for FREE download from our website. Programming tutorials along with source code samples are included.

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

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

Program.cs
      
using System; using System.Diagnostics; using System.Drawing; using System.Collections.Generic; using Bytescout.Watermarking; using Bytescout.Watermarking.Presets; namespace Sample { class Program { static void Main(string[] args) { // Create Watermarker instance Watermarker waterMarker = new Watermarker(); // Initialize library waterMarker.InitLibrary("demo", "demo"); // Set input file name string inputFilePath = "my_sample_image.jpg"; // Set output file title string outputFilePath = "my_sample_output.jpg"; // Add image to apply watermarks to waterMarker.AddInputFile(inputFilePath, outputFilePath); // Create new watermark TiledTextDiagonal preset = new TiledTextDiagonal(); // Set text preset.Text = "Sample watermark text"; // Set font size preset.Font.Style = FontStyle.Bold; preset.Font.Size = 3; preset.Transparency = 15; // 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); } } }

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