Annotation Presets API.
Methods
Methods
Annotation preset deserializer. Converts an annotation preset object to a PSPDFKit.AnnotationPreset.
Parameters:
Type | Description |
---|---|
object | Serialized annotation preset to rebuild. |
Returns:
Annotation preset serializer. Converts a PSPDFKit.AnnotationPreset to an object.
Parameters:
Name | Type | Description |
---|---|---|
preset |
PSPDFKit.AnnotationPreset | Annotation preset to serialize. |
Returns:
- Type
- object