InterfaceISupportPdfExport
Interface
Defines a contract for exporting documents to PDF format.
Definition
Namespace:Telerik.Documents.AI.Tools.Core
Assembly:Telerik.Documents.AI.Tools.Core.dll
Syntax:
cs-api-definition
public interface ISupportPdfExport
Derived Classes:
Methods
ExportToPdf(string, Stream)
Exports the specified document to PDF format and writes the result to the provided stream.
Declaration
cs-api-definition
void ExportToPdf(string documentId, Stream destinationStream)
Parameters
documentId
The unique identifier of the document to export. Cannot be null or empty.
destinationStream
The stream to which the generated PDF will be written. Must be writable and remain open for the duration of the operation.