Skip to main content
All docs
V21.2
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.

SnapDocumentServer Methods

A non-visual reporting engine providing all the functionality of Snap.
Name Description
AddService(Type, ServiceCreatorCallback, Boolean) Adds the specified service to the service container. Inherited from RichEditDocumentServer.
AddService(Type, ServiceCreatorCallback) Adds the specified service to the service container. Inherited from RichEditDocumentServer.
AddService(Type, Object, Boolean) Adds the specified service to the service container. Inherited from RichEditDocumentServer.
AddService(Type, Object) Adds the specified service to the service container. Inherited from RichEditDocumentServer.
BeginInitialize() For internal use. Inherited from RichEditDocumentServer.
BeginUpdate() Locks the RichEditDocumentServer object until the RichEditDocumentServer.EndUpdate method is called. Inherited from RichEditDocumentServer.
CancelUpdate() For internal use. Use the RichEditDocumentServer.EndUpdate method instead. Inherited from RichEditDocumentServer.
CreateMailMergeOptions() Obsolete. Obsolete. Use the SnapDocumentServer.CreateSnapMailMergeExportOptions property instead.
CreateNewDocument(Boolean) Creates a new blank document. Inherited from RichEditDocumentServer.
CreateSnapMailMergeExportOptions() Creates the options that determine how a document is rendered when finishing a mail-merge report.
Dispose() Releases resources associated with a RichEditDocumentServer instance. Inherited from RichEditDocumentServer.
EndUpdate() Unlocks the RichEditDocumentServer object. Inherited from RichEditDocumentServer.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
ExportDocument(Stream, DocumentFormat) Exports the document to a stream in the specified format.
ExportDocument(String, DocumentFormat) Exports the document to a file in the specified format.
ExportToPdf(Stream, PdfExportOptions) Exports the document to the specified stream in PDF format. Inherited from RichEditDocumentServer.
ExportToPdf(Stream) Exports the document to the specified stream in PDF format. Inherited from RichEditDocumentServer.
ExportToPdf(String, PdfExportOptions) Exports the content of the RichEditControl to the specified file path in PDF format, applying PDF-specific options. Inherited from RichEditDocumentServer.
ExportToPdf(String) Exports the document content to the specified file path in PDF format. Inherited from RichEditDocumentServer.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetService(Type) Gets the service object of the specified type. Inherited from RichEditDocumentServer.
GetService<T>() Gets the specified service. Inherited from RichEditDocumentServer.
GetType() Gets the Type of the current instance. Inherited from Object.
LoadDocument(Byte[], DocumentFormat, String) Loads a document in the specified format from a byte array. You can use this method to load HTML documents with connected files. Inherited from RichEditDocumentServer.
LoadDocument(Byte[], DocumentFormat) Loads a document in the specified format from a byte array. Inherited from RichEditDocumentServer.
LoadDocument(Byte[]) Loads a document from a byte array. The file format is determined based on document content. Inherited from RichEditDocumentServer.
LoadDocument(Stream, DocumentFormat, String) Loads a document from the stream in the specified format. External content for HTML format is retrieved using the specified source (base) URI. Inherited from RichEditDocumentServer.
LoadDocument(Stream, DocumentFormat) Loads a document from a stream, specifying the document format. Inherited from RichEditDocumentServer.
LoadDocument(Stream) Loads a document from the stream. Inherited from RichEditDocumentServer.
LoadDocument(String, DocumentFormat, String) Loads a document from the file in the specified format. External content for HTML format is retrieved using the specified source (base) URI. Inherited from RichEditDocumentServer.
LoadDocument(String, DocumentFormat) Loads a document from a file, specifying the document format. Inherited from RichEditDocumentServer.
LoadDocument(String) Loads a document from the specified file. The file format is determined by its content. Inherited from RichEditDocumentServer.
LoadDocumentTemplate(Byte[], DocumentFormat) Loads a document template in the specified format from a byte array. Inherited from RichEditDocumentServer.
LoadDocumentTemplate(Byte[]) Loads a document template from a byte array. Inherited from RichEditDocumentServer.
LoadDocumentTemplate(Stream, DocumentFormat) Loads a document template with specified format from a stream. Inherited from RichEditDocumentServer.
LoadDocumentTemplate(Stream) Loads a document template from the stream. Inherited from RichEditDocumentServer.
LoadDocumentTemplate(String, DocumentFormat) Loads a document template from the file in the specified format. Inherited from RichEditDocumentServer.
LoadDocumentTemplate(String) Loads a document template from the specified file. Inherited from RichEditDocumentServer.
MailMerge(Document) Obsolete. Obsolete. Use the SnapDocumentServer.SnapMailMerge method instead.
MailMerge(MailMergeOptions, Document) Obsolete. Obsolete. Use the SnapDocumentServer.SnapMailMerge method instead.
MailMerge(MailMergeOptions, IRichEditDocumentServer) Obsolete. Obsolete. Use the SnapDocumentServer.SnapMailMerge method instead.
MailMerge(MailMergeOptions, Stream, DocumentFormat) Obsolete. Obsolete. Use the SnapDocumentServer.SnapMailMerge method instead.
MailMerge(MailMergeOptions, String, DocumentFormat) Obsolete. Obsolete. Use the SnapDocumentServer.SnapMailMerge method instead.
MailMerge(IRichEditDocumentServer) Obsolete. Obsolete. Use the SnapDocumentServer.SnapMailMerge method instead.
MailMerge(Stream, DocumentFormat) Obsolete. Obsolete. Use the SnapDocumentServer.SnapMailMerge method instead.
MailMerge(String, DocumentFormat) Obsolete. Obsolete. Use the SnapDocumentServer.SnapMailMerge method instead.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Print() Prints the document to the default printer with the default settings. Inherited from RichEditDocumentServer.
Print(PrinterSettings, String) Prints the document with the given printer settings and document name. Inherited from RichEditDocumentServer.
Print(PrinterSettings) Prints the document with the given printer settings. Inherited from RichEditDocumentServer.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RemoveService(Type, Boolean) Removes the service of the specified type from the service container. Inherited from RichEditDocumentServer.
RemoveService(Type) Removes the service of the specified type from the service container. Inherited from RichEditDocumentServer.
ReplaceService<T>(T) Performs a service substitution. Inherited from RichEditDocumentServer.
SaveDocument(DocumentFormat, EncryptionSettings) Saves the document to a byte array in the specified file format and encrypts it with a password. Inherited from RichEditDocumentServer.
SaveDocument(DocumentFormat) Saves the document to a byte array in the specified file format. Inherited from RichEditDocumentServer.
SaveDocument(Stream, DocumentFormat, EncryptionSettings) Saves the document to a stream, specifying the document’s format and encryption options. Inherited from RichEditDocumentServer.
SaveDocument(Stream, DocumentFormat) Obsolete. Saves the document to a stream in the specified format.
SaveDocument(Stream) Saves the document to a stream in the Snap native document format (.SNX)
SaveDocument(String, DocumentFormat, EncryptionSettings) Saves the document to a file, specifying the document’s format and encryption options. Inherited from RichEditDocumentServer.
SaveDocument(String, DocumentFormat) Obsolete. Saves the document to a file in the specified format.
SaveDocument(String) Saves the document to a file in the Snap native document format (.SNX)
SnapMailMerge(SnapDocument) Starts rendering the specified mail-merge document.
SnapMailMerge(ISnapDocumentServer) Obsolete. Obsolete. Starts rendering a mail-merge document and saving it to the specified Snap Report API.
SnapMailMerge(SnapMailMergeExportOptions, SnapDocument) Starts rendering a mail-merge document based on the applied export options and saving it to the specified target document.
SnapMailMerge(SnapMailMergeExportOptions, ISnapDocumentServer) Obsolete. Obsolete. Starts rendering a mail-merge document based on the applied export options and saving it to the specified Snap Report API.
SnapMailMerge(SnapMailMergeExportOptions, Stream, DocumentFormat) Starts rendering a mail-merge document based on the applied export options and saving it to a stream in the specified format.
SnapMailMerge(SnapMailMergeExportOptions, String, DocumentFormat) Starts rendering a mail-merge document based on the applied export options and saving it to a file in the specified format.
SnapMailMerge(Stream, DocumentFormat) Starts rendering a mail-merge document and saving it to a stream in the specified format.
SnapMailMerge(String, DocumentFormat) Starts rendering a mail-merge document and saving it to a file in the specified format.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also