Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The Syncfusion® .NET Word Library provides comprehensive APIs to create and modify ink annotations in Word documents. Ink annotations are freehand drawings or handwritten input composed of stroke points that convey signatures, notes, or sketches on a page. With just a few lines of code, you can add and customize ink elements without Microsoft Word or interop dependencies. The library also supports preserving these ink annotations during the conversion of .docx files to PDFs and images.

Create ink annotations using C#

This example code shows how to create ink annotations in a Word document using the Syncfusion .NET Word Library with just a few lines of code in C#.

Key features of ink annotations

Create ink annotations with single trace in .NET Word.

Create ink annotations with single trace

Add freehand drawings with single stroke paths to Word documents programmatically using trace points and coordinates.

Create ink annotation with multiple traces in .NET Word.

Create ink annotation with multiple traces

Create complex ink annotations with multiple strokes (traces) for handwritten text, signatures, or detailed sketches.

Key features for editing ink annotations

Modify ink effects in .NET Word.

Modify ink effects

Enhance and customize ink strokes by adjusting visual effects, colors, thickness, and trace points to create more expressive, precise, or visually consistent ink annotations within your document.

Remove ink annotations in .NET Word.

Remove ink annotations

Remove ink annotations easily.

Syncfusion .NET Word Library Resources

Explore these resources for comprehensive guides, knowledge base articles, insightful blogs, and ebooks.

Frequently Asked Questions

  • An ink trace is a single stroke drawn on the ink canvas.
  • Each trace consists of ordered (x, y) points.
  • Multiple traces = multiple strokes (like multi-stroke drawings).
  • Each trace has a brush for styling:
    • Ink effects
    • Color (if supported)
    • Stroke thickness

  • Trace points are simply (x,y) coordinates defining the path of the stroke.
  • You can:
    • Define points manually (for shapes like a triangle).
    • Convert from mouse or touch input. Refer to the “Create ink” demo.

Yes, you can modify existing ink traces by changing colors, effects, thickness, and even the coordinate points of the strokes.

  • An ink annotation is created using the “paragraph.AppendInk(width, height)” API.
  • This defines a coordinate space:
    • (0,0) = top-left of ink area.
    • (width, height) = bottom-right.
  • All trace points must lie within this boundary.

You can add multiple traces to a single ink object to create complex, handwritten text, signatures, or detailed drawings.

Yes, you can convert Word documents containing ink annotations to PDF using the Syncfusion .NET Word Library (DocIO). DocIO supports converting Word documents with ink content to PDF format seamlessly.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion® reduces customers’ development time.
Here are some of their experiences.

See Real Success Stories

Developers around the world trust Syncfusion’s Essential Studio to simplify complex projects and speed up delivery. With a vast library of UI controls, powerful SDKs, and reliable support, Essential Studio helps teams build enterprise-ready applications with confidence.

Read Our Customer Stories


Rated by users across the globe

Want to create, View, and edit Word documents in C# or VB.NET?

Start a free 30-day evaluation today!
DOWNLOAD FREE TRIAL

No credit card required.

Mobile Free Evaluation Section

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion® is proud to hold the following industry awards.

Scroll up icon