Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

DynaPDF.EditTemplate2

Opens a template for editing.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.EditTemplate2"; PDF; TemplateHandle )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
TemplateHandle The template handle number. $template

Result

Returns OK or error.

Description

Opens a template for editing.
Templates can be edited multiple times in the same way as normal PDF pages. Therefore, the function prepares the template for editing. The current graphics state is saved entirely before the template will be opened and restored when the template will be closed with DynaPDF.EndTemplate. The current font, line width, fill color and so on are all restored to its values before entering the template.
The function depends not on an open page.

See also EditTemplate2 function in DynaPDF manual.

See also

Blog Entries

This function checks for a license.

Created 16th May 2015, last changed 16th May 2015


DynaPDF.EditTemplate - DynaPDF.Ellipse