Click or drag to resize
AceoffixCtrlServerPage Property
Sets or retrieves a value that indicates the URL of Aceoffix server page.

Namespace: Aceoffix
Assembly: Aceoffix (in Aceoffix.dll) Version: 5.0.0.1
Syntax
public string ServerPage { get; set; }

Property Value

Type: String

The property has no default value. ServerPage is the URL of Aceoffix server page.

Note Note
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.

Remarks

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.

Note Note
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.
Examples

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");
See Also