internal PDFInkList GetInks(Dictionary <string, byte[]> library_items_inks_cache) { if (null == inks) { inks = new PDFInkList(); PDFInkSerializer.ReadFromDisk(this, inks, library_items_inks_cache); inks.OnPDFInkListChanged += inks_OnPDFInkListChanged; } return(inks); }
public void SaveToMetaData() { // Save the metadata PDFMetadataSerializer.WriteToDisk(this); // Save the annotations if (null != annotations && annotations.Count > 0) { PDFAnnotationSerializer.WriteToDisk(this); } // Save the highlights if (null != highlights && highlights.Count > 0) { PDFHighlightSerializer.WriteToDisk(this); } // Save the inks if (null != inks) { PDFInkSerializer.WriteToDisk(this); } }