Answering my own question:
It looks like cloning to what is, in essence, a 0 page document (had 1 page but then deleted it). If attempt the above steps with a larger, multi-page document I do not get the generic error.
Search found 10 matches
- Thu Sep 24, 2020 1:09 pm
- Forum: PDF
- Topic: Replace PDF Page Generic Error
- Replies: 1
- Views: 9037
- Wed Sep 23, 2020 4:16 pm
- Forum: PDF
- Topic: Replace PDF Page Generic Error
- Replies: 1
- Views: 9037
Replace PDF Page Generic Error
I am trying to replace a page in a pdf by Deleting the page from the destination pdf Cloning the page from the source pdf Moving the cloned page in the destination to the correct location In my test case both the source and destination pdfs are a single page. However when I run the clone command I g...
- Tue Sep 22, 2020 8:43 pm
- Forum: DocuVieware
- Topic: Saving Annotated Documents
- Replies: 3
- Views: 4036
Re: Saving Annotated Documents
This is perfect. Thanks Fabio.
- Mon Sep 21, 2020 4:13 pm
- Forum: DocuVieware
- Topic: DocuViewareControllerActionsHandler save - Architecture Question
- Replies: 1
- Views: 8704
DocuViewareControllerActionsHandler save - Architecture Question
This is an architecture question. When we call the DocuViewareControllerActionsHandler save method it returns a byte array representing the entire document. Where does it get this data? Is this information stored in the session store on disk? Does it reload the original from the source location? (In...
- Mon Sep 21, 2020 2:26 pm
- Forum: DocuVieware
- Topic: .Net 3.0 customaction
- Replies: 1
- Views: 2844
Re: .Net 3.0 customaction
Answering my own question: The answer still comes from the other examples. I just wasn't mentally connecting the .Net Core documentation with the Razor documentation. Step One: create a static handler public static class Globals You could name this class anything. It does not have to be "Global...
- Sun Sep 20, 2020 3:33 pm
- Forum: DocuVieware
- Topic: .Net 3.0 customaction
- Replies: 1
- Views: 2844
.Net 3.0 customaction
How do you make use of custom actions in .Net 3.0? The only code snippet I can find is this: [HttpPost("customaction")] public string CustomAction([FromBody]object jsonString) { return DocuViewareControllerActionsHandler.customaction(jsonString); } It is not clear to me what "DocuView...
- Wed Sep 16, 2020 3:46 pm
- Forum: DocuVieware
- Topic: Saving Annotated Documents
- Replies: 3
- Views: 4036
Re: Saving Annotated Documents
I have found two possible solutions. I do not know if there is a better one. Override Save Click In this option I intercept the JavaScript click event on the save button and provide my own logic document.getElementById('docuViewerControl').control.SaveDialog_Click = function() { console.log('save cl...
- Thu Sep 10, 2020 3:51 am
- Forum: General discussions
- Topic: FileNotFound on LoadFromFile for .docx and .xlsx
- Replies: 2
- Views: 9485
Re: FileNotFound on LoadFromFile for .docx and .xlsx
Sorry this was a mistake on my part. I did not have all the correct dlls loaded.
- Thu Sep 10, 2020 3:47 am
- Forum: DocuVieware
- Topic: Saving Annotated Documents
- Replies: 3
- Views: 4036
Saving Annotated Documents
I am not sure the best way to get access to the document's byte array after annotations have been saved. I feel like I am missing a core concept. (for context I need the documents byte stream in order to save it to blob storage but I also need it done in a context where I can get access to other rel...
- Tue Aug 04, 2020 12:27 am
- Forum: General discussions
- Topic: FileNotFound on LoadFromFile for .docx and .xlsx
- Replies: 2
- Views: 9485
FileNotFound on LoadFromFile for .docx and .xlsx
I am making use of LoadFromFile to load multiple types of files. However, .docx and .xlsx files are returning a "FileNotFound" and .rtf files are returning a "GeneralError" but jpegs, gifs, tiffs, pdfs, and txt files are all fine. I am using gdPicture 14.1.77 with .Net Core Here ...