Skip to main content
A newer version of this page is available.

SnapDocumentServer Events

A non-visual reporting engine providing all the functionality of Snap.
Name Description
AfterDataSourceImport Occurs after importing a data source.
AfterExport Occurs after the document is successfully exported. Inherited from RichEditDocumentServer.
AsynchronousOperationFinished Occurs after finishing an asynchronous operation in a separate thread.
AsynchronousOperationStarted Occurs after starting an asynchronous operation in a separate thread.
BeforeConversion Occurs before a snap document is exported to format other than the native .SNX.
BeforeDataSourceExport Occurs before exporting a data source.
BeforeExport Occurs before the document is saved (exported to a certain format). Inherited from RichEditDocumentServer.
BeforeImport Occurs before a document is loaded (imported from an external source). Inherited from RichEditDocumentServer.
BeforeLoadCustomAssembly Occurs when the a report template (.snx file) is loaded which contains the Entity Framework data source originated from a compiled assembly.
BeforePagePaint Enables you to specify a custom PagePainter descendant to alter the way the layout elements are drawn. Inherited from RichEditDocumentServer.
CalculateDocumentVariable Fires when the DOCVARIABLE field is updated. Inherited from RichEditDocumentServer.
CommentInserted Occurs after a new comment is created in the document. Inherited from RichEditDocumentServer.
ContentChanged Occurs when the document content was changed. Inherited from RichEditDocumentServer.
CustomAssemblyLoading Obsolete. For internal use.
CustomPropertiesChanged Occurs when one of the DocumentCustomProperties has changed. Inherited from RichEditDocumentServer.
DataSourceChanged Occurs when the data source has been changed.
DocBytesChanged This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from RichEditDocumentServer.
DocumentClosing Occurs before closing a SnapDocument.
DocumentLoaded Occurs before loading a SnapDocument into a SnapDocumentServer.
DocumentPropertiesChanged Occurs after one of the DocumentProperties has changed. Inherited from RichEditDocumentServer.
EmptyDocumentCreated Occurs before creating a new SnapDocument.
HtmlTextChanged This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from RichEditDocumentServer.
InitializeDocument Occurs before a document is loaded. Handle this event to set initial document settings. Inherited from RichEditDocumentServer.
InvalidFormatException Fires when the supplied data could not be recognized as data in the assumed format for import. Inherited from RichEditDocumentServer.
MailMergeFinished Obsolete. Obsolete. Use the SnapDocumentServer.SnapMailMergeFinished event instead.
MailMergeRecordFinished Obsolete. Obsolete. Use the SnapDocumentServer.SnapMailMergeRecordFinished event instead.
MailMergeRecordStarted Obsolete. Obsolete. Use the SnapDocumentServer.SnapMailMergeRecordStarted event instead.
MailMergeStarted Obsolete. Obsolete. Use the SnapDocumentServer.SnapMailMergeStarted event instead.
MhtTextChanged This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from RichEditDocumentServer.
ModifiedChanged Occurs when the value of the RichEditDocumentServer.Modified property is changed. Inherited from RichEditDocumentServer.
OpenDocumentBytesChanged This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from RichEditDocumentServer.
OpenXmlBytesChanged This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from RichEditDocumentServer.
RtfTextChanged This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from RichEditDocumentServer.
SelectionChanged Fires in response to changing a selection in the document. Inherited from RichEditDocumentServer.
SnapMailMergeFinished Occurs after document merging has finished.
SnapMailMergeRecordFinished Occurs after data field merging has finished.
SnapMailMergeRecordStarted Occurs after data field merging has started.
SnapMailMergeStarted Occurs after document merging has started.
UnhandledException This event is raised when an exception unhandled by the RichEditDocumentServer occurs. Inherited from RichEditDocumentServer.
ValidateCustomSql Allows validation of the custom SQL query created using the Data Source Wizard or the Query Builder.
WordMLTextChanged This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from RichEditDocumentServer.
See Also