Class AnnotationPresetUpdate

Represents a change to an annotation preset.

Inheritance
System.Object
AnnotationPresetUpdate
Namespace: PSPDFKit.UI
Assembly: PSPDFKit.dll
Syntax
public sealed class AnnotationPresetUpdate

Constructors

AnnotationPresetUpdate(String, IAnnotation, IAnnotation)

Constructs an annotation preset update object.

Declaration
public AnnotationPresetUpdate(string preset, IAnnotation currentPreset, IAnnotation newPreset)
Parameters
Type Name Description
System.String preset

The name of the preset.

IAnnotation currentPreset

The current state of the preset.

IAnnotation newPreset

The new state of the preset.

Properties

Current

The current preset properties before the change is applied.

Declaration
public IAnnotation Current { get; }
Property Value
Type Description
IAnnotation

Name

The name of the preset.

Declaration
public string Name { get; }
Property Value
Type Description
System.String

New

The new preset properties after the change is applied.

Declaration
public IAnnotation New { get; }
Property Value
Type Description
IAnnotation