Skip to main content

OfficeViewer

Namespace: Wisej.Web.Ext.OfficeViewer

Assembly: Wisej.Web.Ext.OfficeViewer

Microsoft Office Viewer panel. Uses view-office-documents-online.

public class OfficeViewer : IFramePanel, IWisejHandler

Constructors

Instance memberOfficeViewer()

Properties

Instance memberFileName

String: Returns or sets the file name with extension to return to the office viewer. (Default: "")

This property is required when using FileStream instead of FileSource.

Instance memberFileSource

String: Returns or sets the path of the Office file to view. It can be a relative or absolute URL. (Default: "")

Instance memberFileStream

Stream: Returns or sets the stream of the Office file to view.

Instance memberUrl

String: Returns or sets the source URL of the IFrame. (Default: "")

Events

Instance memberFileRequested

HandledEventHandler Fired when the file is requested.

The application can handle this event and override the default functionality by setting the Handled property to true. The current response is available using Current.

Instance memberFileSourceChanged

EventHandler Fired when the FileSource property is changed.