THotPDF.SaveToStream Method
Serialises and saves the entire PDF document's structure, objects, and cross-reference tables into a specified data stream.
Declaration
procedure SaveToStream(DocStream: TStream);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
DocStream | 用于接收PDF文档数据的目标数据流 |
Usage
- Call: THotPDF.SaveToStream
- Called when needing to output a built or modified PDF document to a memory stream, file stream, or other streaming media.
See also
- THotPDF
- Directory