THotPDF.RegisterSoftMaskState Method
Registers a reusable soft mask state resource for the document creation workflow. Call it before page commands reference the resource name so color, pattern, font, image, or profile data is available in the PDF resource tree
Declaration
function RegisterSoftMaskState(AISFlag: Integer; SMaskNone: boolean; SMaskDict: THPDFObject= nil): AnsiString;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
AISFlag | Input used by RegisterSoftMaskState |
SMaskNone | Input used by RegisterSoftMaskState |
SMaskDict | Input used by RegisterSoftMaskState |
Return value
Returns an AnsiString value
Usage notes
- Use this API in the document creation 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