# Ink

> Work with Ink in Aspose.Slides for .NET: draw, import, and edit strokes, adjust color and width, and export to PPT, PPTX, and ODP using C# examples.

Source: https://docs.aspose.com/slides/net/examples/elements/ink/
Updated: 2026-08-05


This article provides examples of accessing existing ink shapes and removing them using **Aspose.Slides for .NET**.

> ❗ **Note:** Ink shapes represent user input from specialized devices. Aspose.Slides cannot create new ink strokes programmatically, but you can read and modify existing ink.

## **Access Ink**

Read the tags from the first ink shape on a slide.

```csharp
using Aspose.Slides;
using Aspose.Slides.Ink;

static void AccessInk()
{
    using var presentation = new Presentation("ink.pptx");
    var slide = presentation.Slides[0];

    if (slide.Shapes[0] is Ink inkShape)
    {
        var tags = inkShape.CustomData.Tags;
        if (tags.Count > 0)
        {
            var tagName = tags.GetNameByIndex(0);
            // Use tagName as needed.
        }
    }
}
```

## **Remove Ink**

Delete an ink shape from the slide if one exists.

```csharp
using Aspose.Slides;
using Aspose.Slides.Ink;

static void RemoveInk()
{
    using var presentation = new Presentation("ink.pptx");
    var slide = presentation.Slides[0];

    if (slide.Shapes.FirstOrDefault(s => s is Ink) is Ink ink)
    {
        slide.Shapes.Remove(ink);
    }
}
```

