







![]() ![]() |
PDFTron SilverDox SDK |
AnnotationManager..::..SaveAnnotations Method |
AnnotationManager Class See Also Send Feedback |
Serializes the annotations into a byte array containing XML (UTF-8 encoded). This data can be saved and then loaded using LoadAnnotations(Stream, Predicate<(Of <<'(Annotation>)>>)) to re-create the annotations.
Namespace: PDFTron.SilverDox.Documents.Annotations
Assembly: SilverDox (in SilverDox.dll) Version: 1.2.4413.29010
Syntax
C# |
---|
public byte[] SaveAnnotations() |
Visual Basic |
---|
Public Function SaveAnnotations As Byte() |
Visual C++ |
---|
public: array<unsigned char>^ SaveAnnotations() |
Return Value
The annotations serialized into XML.
Remarks
Note that if any of the annotations are not native to SilverDox, they must be registered with AnnotationManager using AddCustomAnnotationTypes(array<Type>[]()[][]) before this method is used.