THotPDF.RemovePageLayer Method
Removes a page-layer registration by its stable document-local identifier
Declaration
function RemovePageLayer(LayerID: Integer): boolean;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
LayerID | Identifier returned by AddPageLayer |
Return value
Returns True when a matching registration was removed
Usage notes
- Use this API in the page geometry 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