Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

DynaPDF.DeleteTemplate

Deletes a template.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 5.0 Yes Yes Yes Yes Yes

MBS( "DynaPDF.DeleteTemplate"; PDF; Handle )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
Handle Template handle. $template

Result

Returns OK or error.

Description

Deletes a template.
The parameter Handle must be a valid template handle. A template is not physically deleted by this function, only the content stream is cleared. Templates can be references in other content stream so that it is quite complex to delete a template physically at runtime. However, this behavior is maybe changed in a future version of DynaPDF.
Imported PDF pages are converted to templates by default. The handles of such templates are often not known, however, it is possibly to delete them by using the function DynaPDF.DeleteTemplateEx(

See also DeleteTemplate function in DynaPDF manual.

See also


DynaPDF.DeleteSeparationInfo   -   DynaPDF.DeleteTemplateEx

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins