AceoffixCtrlSaveFilePage Property |
Namespace: Aceoffix
The property has no default value. SaveFilePage is the URL of Web page used to receive and save document.
![]() |
---|
The URL can be a relative URL or a complete URL which starts with "http". The relative URL can be relative to the URL of current page and it also can be a root relative URL.
The root relative URL starting with "/" is relative to the root path of the application.
Note: If the URL is a complete URL, make sure that this URL must link to the current website instead of other websites. It is recommended that you use a relative URL to make the application more portable. |
![]() |
---|
When AceoffixCtrl is saving document, AceoffixCtrl will first submit data extracted from the document to page specified by SaveDataPage and then submit the document file to page specified by SaveFilePage. If the SaveDataPage property is not assigned, submitting data action will not execute. If the SaveFilePage property is not assigned, submitting file action will not execute. If both SaveDataPage property and SaveFilePage property are not assigned, AceoffixCtrl will report an error when saving document. |
The following example shows how to use the SaveFilePage property.
Refer to the full code example in the Load event topic to learn how to open document online.
Refer to the code example in the SaveToFile(String) method topic to view the code of savefile.aspx page.
AceoffixCtrl1.ServerPage = "aceoffix-runtime/server.aspx"; // Required AceoffixCtrl1.SaveFilePage = "doc/savefile.aspx"; // Set savefile.aspx to receive and save document. AceoffixCtrl1.OpenDocument("doc/test.doc", Aceoffix.OpenModeType.docNormalEdit, "John Scott");