Edit(AnnotationTarget, Action, Boolean) Method

Definition

Assembly Broadside.Viewer.dll

Edits an annotation (not a widget or a locked one) through its setters and redraws it; the appearance is regenerated after a visual edit (colour, border width, interior colour) unless regenerateAppearance is false.

public bool Edit(AnnotationTarget target, Action<PdfAnnotation> edit, bool regenerateAppearance = true)

Parameters

target
AnnotationTarget

The annotation.

edit
Action<PdfAnnotation>

The edit.

regenerateAppearance
Boolean

Whether to call RegenerateAppearance() afterwards.

Returns

Boolean
Whether the annotation could be edited.

Remarks

ISO 32000-2 §12.5.2 and §12.5.5.