public IActionResult RenderAnnotationComments([FromBody] Dictionary <string, string> jsonObject) { PdfRenderer pdfviewer = new PdfRenderer(_cache); object jsonResult = pdfviewer.GetAnnotationComments(jsonObject); return(Content(JsonConvert.SerializeObject(jsonResult))); }
public object RenderAnnotationComments(Dictionary <string, string> jsonObject) { PdfRenderer pdfviewer = new PdfRenderer(); object jsonResult = pdfviewer.GetAnnotationComments(jsonObject); return(jsonResult); }
public IActionResult ExportAnnotations([FromBody] Dictionary <string, string> jsonObject) { PdfRenderer pdfViewer = new PdfRenderer(Cache); string? jsonResult = pdfViewer.GetAnnotationComments(jsonObject).SerializeToJson(); return(Content(jsonResult)); }
public IActionResult RenderAnnotationComments([FromBody] Dictionary <string, string> jsonObject) { //Initialize the PDF Viewer object with memory cache object PdfRenderer pdfViewer = new PdfRenderer(Cache); object jsonResult = pdfViewer.GetAnnotationComments(jsonObject); return(Content(JsonConvert.SerializeObject(jsonResult))); }
public ActionResult RenderAnnotationComments(jsonObjects jsonObject) { PdfRenderer pdfviewer = new PdfRenderer(); var jsonData = JsonConverter(jsonObject); object jsonResult = pdfviewer.GetAnnotationComments(jsonData); return(Content(JsonConvert.SerializeObject(jsonResult))); }