Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
DynaPDF.DeleteTemplate
Deletes a template.
Component |
Version |
macOS |
Windows |
Linux |
Server |
iOS SDK |
DynaPDF
|
5.0 |
✅ Yes |
✅ Yes |
✅ Yes |
✅ Yes |
✅ Yes |
MBS( "DynaPDF.DeleteTemplate"; PDF; Handle )
More
MBS(
"DynaPDF.DeleteTemplate"; /* Deletes a template. */
$PDF; /* The PDF reference returned from
DynaPDF.New. */
$Handle) /* Template handle.e.g. $template */
Less
Parameters
Parameter |
Description |
Example |
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
This function checks for a license.
Created 6th February 2015, last changed 3th January 2021
DynaPDF.DeleteSeparationInfo
-
DynaPDF.DeleteTemplateEx