DocumentViewerClientEvents Class

Defines the client-side events handlers of the document viewer.

Definition

Namespace: GleamTech.DocumentUltimate.AspNet.UI
Assembly: GleamTech.DocumentUltimate (in GleamTech.DocumentUltimate.dll) Version: 6.9.6
C#
public class DocumentViewerClientEvents
Inheritance
Object    DocumentViewerClientEvents

Constructors

DocumentViewerClientEventsInitializes a new instance of the DocumentViewerClientEvents class

Properties

DocumentLoaded Gets or sets the client-side event raised when a document has been loaded. The value should be a valid JavaScript function name which is accessible on the host page. Function names should be specified without parentheses like "FunctionName" or "Namespace.FunctionName".
Downloading Gets or sets the client-side event raised before user downloads the original document or PDF version. The value should be a valid JavaScript function name which is accessible on the host page. Function names should be specified without parentheses like "FunctionName" or "Namespace.FunctionName".
Failed Gets or sets the client-side event raised when an error occurs. The value should be a valid JavaScript function name which is accessible on the host page. Function names should be specified without parentheses like "FunctionName" or "Namespace.FunctionName".
Loaded Gets or sets the client-side event raised when the document viewer has been loaded. The value should be a valid JavaScript function name which is accessible on the host page. Function names should be specified without parentheses like "FunctionName" or "Namespace.FunctionName".
PageChanged Gets or sets the client-side event raised when viewed page is changed. The value should be a valid JavaScript function name which is accessible on the host page. Function names should be specified without parentheses like "FunctionName" or "Namespace.FunctionName".
PageRendered Gets or sets the client-side event raised when a page had finished rendering. The value should be a valid JavaScript function name which is accessible on the host page. Function names should be specified without parentheses like "FunctionName" or "Namespace.FunctionName".
Printed Gets or sets the client-side event raised when printing is completed. The value should be a valid JavaScript function name which is accessible on the host page. Function names should be specified without parentheses like "FunctionName" or "Namespace.FunctionName".
Printing Gets or sets the client-side event raised before user prints the document. The value should be a valid JavaScript function name which is accessible on the host page. Function names should be specified without parentheses like "FunctionName" or "Namespace.FunctionName".
PrintProgress Gets or sets the client-side event raised when print progress is changed. The value should be a valid JavaScript function name which is accessible on the host page. Function names should be specified without parentheses like "FunctionName" or "Namespace.FunctionName".
RotationChanged Gets or sets the client-side event raised when page rotation is changed. The value should be a valid JavaScript function name which is accessible on the host page. Function names should be specified without parentheses like "FunctionName" or "Namespace.FunctionName".
TextCopied Gets or sets the client-side event raised when user copies the selected text in the document. Copying to clipboard with popup menu or keyboard shortcut (e.g. CTRL + C) will both be detected. The value should be a valid JavaScript function name which is accessible on the host page. Function names should be specified without parentheses like "FunctionName" or "Namespace.FunctionName".
TextSelected Gets or sets the client-side event raised when user selects text in the document. The value should be a valid JavaScript function name which is accessible on the host page. Function names should be specified without parentheses like "FunctionName" or "Namespace.FunctionName".

See Also