OfficeViewer

Wisej.Web.Ext.OfficeViewer.OfficeViewer

Namespace: Wisej.Web.Ext.OfficeViewer

Assembly: Wisej.Web.Ext.OfficeViewer (3.2.0.0)

Microsoft Office Viewer panel. Uses view-office-documents-onlinearrow-up-right.

public class OfficeViewer : IFramePanel, IWisejHandler

Constructors

OfficeViewer()

Properties

FileName

Stringarrow-up-right: 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.

FileSource

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

FileStream

Streamarrow-up-right: Returns or sets the stream of the Office file to view.

Url

Stringarrow-up-right: Returns or sets the source URL of the IFrame. (Default: "")

Events

FileRequested

HandledEventHandlerarrow-up-right Fired when the file is requested.

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

FileSourceChanged

EventHandlerarrow-up-right Fired when the FileSource property is changed.

Last updated

Was this helpful?