Table of Contents

Enum AnnotationKind

Namespace
Egami.Drawing
Assembly
Egami.Drawing.dll

What an Annotation marks, as Skia's annotations do.

public enum AnnotationKind

Fields

LinkToDestination = 2

The area links to a named destination in the same document.

NamedDestination = 1

The area's top-left corner is a named destination that links can go to.

Url = 0

The area links to a URL.

Examples

// A layout engine marks links, destinations and structure while it draws; pixels show none of it.
canvas.BeginMarkedContent(new MarkedContent("P") { NodeId = 12 });
canvas.DrawAnnotation(new RectF(20, 130, 120, 16), Annotation.Url("https://example.com"));
canvas.DrawAnnotation(new RectF(20, 150, 0, 0), Annotation.NamedDestination("chapter-2"));
canvas.EndMarkedContent();