AceoffixCtrlServerPage Property |
Namespace: Aceoffix
The property has no default value. ServerPage is the URL of Aceoffix server page.
![]() |
---|
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. |
This is an important property of AceoffixCtrl. The Aceoffix server page provides running services for AceoffixCtrl.
You must set the ServerPage property before calling the OpenDocument, WordCompare or CreateNewDocument method.
![]() |
---|
The Aceoffix server page is a very important page provided by Aceoffix. It is located in the aceoffix-runtime folder. The source code in it do not allow to be made any change. |
The following example shows how to use the ServerPage property.
Refer to the full code example in the Load event topic to learn how to open document online.
AceoffixCtrl1.ServerPage = "aceoffix-runtime/server.aspx"; // Required AceoffixCtrl1.OpenDocument("doc/test.doc", Aceoffix.OpenModeType.docNormalEdit, "John Scott");