THotPDF.NewIndirectStream Method
Creates a NewIndirectStream object in the current PDF document, used to store binary or text data such as embedded resources, content streams, or attachments
Declaration
function NewIndirectStream: THPDFStreamObject;
Unit
HPDFDoc
Return value
| Name | Purpose |
|---|---|
| This member takes no explicit parameters | |
Return value
Returns a THPDFStreamObject value
Usage notes
- Use this API in the document import and output workflow before the affected page, resource, field or catalogue object is finalised
- After an indirect stream object is created, its object number reference must be registered to the correct parent dictionary (e.g., the page XObject resource dictionary); otherwise, it will become an orphaned object upon saving