Namespace: AnnotationPresets

PSPDFKit.AnnotationPresets

Annotation Presets API.

Methods




Methods

(static) fromSerializableObject() → {PSPDFKit.AnnotationPreset}

Annotation preset deserializer. Converts an annotation preset object to a PSPDFKit.AnnotationPreset.

Parameters:
Type Description
Object

Serialized annotation preset to rebuild.

Returns:
Type
PSPDFKit.AnnotationPreset

(static) toSerializableObject(preset) → {Object}

Annotation preset serializer. Converts a PSPDFKit.AnnotationPreset to an object.

Parameters:
Name Type Description
preset PSPDFKit.AnnotationPreset

Annotation preset to serialize.

Returns:
Type
Object