Click or drag to resize
AceoffixCtrl Class

AceoffixCtrl class is the heart among all Aceoffix classes, which is in charge of online opening, displaying and editing the Office document.

As a server control for ASP.NET, AceoffixCtrl supports the rich design-time in the Microsoft Visual Studio® .NET development environment.

Developers can drag AceoffixCtrl from the Visual Studio .NET toolbox onto a page, access its properties through the Properties window, and take advantage of Microsoft IntelliSense® statement completion, both in the Visual Studio HTML editor, as well as in code-behind classes for ASP.NET pages.

Double-click the AceoffixCtrl to create a Load event handler, and then add your code to open a document online.

Inheritance Hierarchy

Namespace: Aceoffix
Assembly: Aceoffix (in Aceoffix.dll) Version: 5.0.0.1
Syntax
public sealed class AceoffixCtrl : Control

The AceoffixCtrl type exposes the following members.

Constructors
  NameDescription
Public methodAceoffixCtrl
Initializes a new instance of the AceoffixCtrl class.
Top
Methods
  NameDescription
Public methodCode exampleAddCustomMenuItem
Adds a menu item to custom menu.
Public methodCode exampleAddCustomToolButton
Adds a button to custom toolbar.
Public methodCode exampleBind
Binds the data source object to the AceoffixCtrl.
Public methodCode exampleCreateNewDocument
Creates a new document and open it for editing online.
Public methodCode exampleOpenDocument
Opens an Office document online.
Public methodWordCompare
Compares two different Word documents online.
Top
Properties
  NameDescription
Public propertyAccessKey
Gets or sets the access key that allows user to navigate to the Web server control quickly.
Public propertyAllowCopy
Sets or retrieves a value that indicates whether Copy, Paste and download are allowed in the current document.
Public propertyBorderColor
Gets or sets the border color of the AceoffixCtrl.
Public propertyBorderStyle
Gets or sets the border style of the AceoffixCtrl.
Public propertyCaption
Gets or sets the caption text for AceoffixCtrl.
Public propertyCompressDocument
Sets or retrieves a value that indicates whether the document will be compressed when AceoffixCtrl saving document.
Public propertyCustomMenuCaption
Sets the caption of custom menu.
Public propertyCustomToolbar
Sets or retrieves a value that indicates whether the custom tool bar of AceoffixCtrl shows.
Public propertyEnableUserProtection
Indicates whether the document protection set by user will be enabled. It can only be applied to Word and Excel document and can only be used in the docNormalEdit and xlsNormalEdit mode. Typically, there is no need to set this property. Aceoffix can protect the document automatically and control document flow better.
Public propertyEncryptDocument
Sets or retrieves a value that indicates whether the document will be encrypted when AceoffixCtrl saving document.
Public propertyFileTitle
The default file name of the Save As dialog box prompted by AceoffixCtrl at the client side.
Public propertyHTTPBasic_Password
The password used in HTTP Basic Authentication.
Public propertyHTTPBasic_UserName
The user name used in HTTP Basic Authentication.
Public propertyInstallationHint
Sets the installation hint of AceoffixCtrl. This property has been disabled.
Public propertyCode exampleJsFunction_AfterDocumentClosed
Sets a JavaScript function for AfterDocumentClosed event.
Public propertyCode exampleJsFunction_AfterDocumentOpened
Sets a JavaScript function for AfterDocumentOpened event.
Public propertyCode exampleJsFunction_AfterDocumentSaved
Sets a JavaScript function for AfterDocumentSaved event.
Public propertyCode exampleJsFunction_BeforeDocumentClosed
Sets a JavaScript function for BeforeDocumentClosed event.
Public propertyCode exampleJsFunction_BeforeDocumentSaved
Sets a JavaScript function for BeforeDocumentSaved event.
Public propertyCode exampleJsFunction_OnExcelCellClick
Sets a JavaScript function for OnExcelCellClick event.
Public propertyCode exampleJsFunction_OnWordDataRegionClick
Sets a JavaScript function for OnWordDataRegionClick event.
Public propertyMenubar
Sets or retrieves a value that indicates whether the menubar of AceoffixCtrl shows.
Public propertyMenubarColor
Gets or sets the back color of the menubar of the AceoffixCtrl.
Public propertyMenubarTextColor
Gets or sets the text color of the menubar of the AceoffixCtrl.
Public propertyOfficeToolbars
Sets or retrieves a value that indicates whether toolbars of Microsoft Office show.
Public propertyProtectPassword
Sets protection password for the current Word or Excel document when the document has a protection password.
Public propertyRibbonBar
Gets the Ribbon bar object to customize the Ribbon toolbar of Office2007/2010/2013.
Public propertyCode exampleSaveDataPage
Sets or retrieves a value that indicates with which page developers would like to receive and save the data sent by AceoffixCtrl.
Public propertySaveFileMaxSize
Gets or sets the max size of saving document by AceoffixCtrl, in bytes.
Public propertyCode exampleSaveFilePage
Sets or retrieves a value that indicates with which page developers would like to receive and save the document sent by AceoffixCtrl.
Public propertyCode exampleServerPage
Sets or retrieves a value that indicates the URL of Aceoffix server page.
Public propertyTabIndex
Gets or sets the tab index of the AceoffixCtrl.
Public propertyTheme
Gets or sets the theme of the AceoffixCtrl.
Public propertyTimeSpan
Gets or sets the time span of concurrency control, in minutes.
Public propertyTitlebar
Sets or retrieves a value that indicates whether the title bar of AceoffixCtrl shows.
Public propertyTitlebarColor
Gets or sets the back color of the titlebar of the AceoffixCtrl.
Public propertyTitlebarTextColor
Gets or sets the text color of the titlebar of the AceoffixCtrl.
Public propertyVisible
Sets a value that indicates whether AceoffixCtrl is visible when it is running.
Top
Events
  NameDescription
Public eventCode exampleLoad
The default event of AceoffixCtrl. Initializing AceoffixCtrl and opening the document at here.
Top
See Also