Skip to main content

PdfAnnotationOperation Enum

Definition

Assembly:Avalonia.Controls.PdfViewer
Package:Avalonia.Controls.PdfViewer

Identifies the annotation operation that failed, so a host can respond to (or ignore) specific kinds of failure without parsing the message text.

public enum PdfAnnotationOperation

Inheritance: Enum -> PdfAnnotationOperation

Fields

NameDescription
AddInkCommitting a freehand ink stroke.
AddMarkupCreating a text markup annotation (highlight, underline, strikeout, squiggly).
AddShapeCreating a shape, line, arrow, polygon or free-text annotation.
DeleteDeleting an annotation.
EditTextEditing the text inside an existing annotation.
LinkCreating, editing or deleting a link.
ModifyMoving, resizing, rotating or restyling an existing annotation.
OtherAn operation not covered by the other values.
RedactApplying a redaction.
StickyNoteCreating or updating a sticky note.

AddInk Field

Committing a freehand ink stroke.

public Avalonia.Controls.PdfAnnotationOperation AddInk

AddMarkup Field

Creating a text markup annotation (highlight, underline, strikeout, squiggly).

public Avalonia.Controls.PdfAnnotationOperation AddMarkup

AddShape Field

Creating a shape, line, arrow, polygon or free-text annotation.

public Avalonia.Controls.PdfAnnotationOperation AddShape

Delete Field

Deleting an annotation.

public Avalonia.Controls.PdfAnnotationOperation Delete

EditText Field

Editing the text inside an existing annotation.

public Avalonia.Controls.PdfAnnotationOperation EditText

Creating, editing or deleting a link.

public Avalonia.Controls.PdfAnnotationOperation Link

Modify Field

Moving, resizing, rotating or restyling an existing annotation.

public Avalonia.Controls.PdfAnnotationOperation Modify

Other Field

An operation not covered by the other values.

public Avalonia.Controls.PdfAnnotationOperation Other

Redact Field

Applying a redaction.

public Avalonia.Controls.PdfAnnotationOperation Redact

StickyNote Field

Creating or updating a sticky note.

public Avalonia.Controls.PdfAnnotationOperation StickyNote