THPDFActionBuilder.Rendition Method
Provides rendition behavior for the PDF action builder workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance, or diagnostics
Declaration
class function Rendition(ScreenAnnot: THPDFDictionaryObject; const MediaFileName: AnsiString; const MimeType: AnsiString; Operation: THPDFRenditionOperation= roPlayOrResume; const JavaScript: AnsiString= ''): THPDFActionBuilder;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
ScreenAnnot | Input used by Rendition |
MediaFileName | File path used as the source or destination for this operation |
MimeType | Input used by Rendition |
Operation | Input used by Rendition |
JavaScript | Input used by Rendition |
Return value
Returns a THPDFActionBuilder value
Usage notes
- Use this API in the PDF action builder workflow before the affected page, resource, field, or catalog object is finalized
- Keep object names, field names, resource names, and returned handles stable until the document is finalized