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.OpenTagEx

Opens a new tag.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 13.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.OpenTagEx"; PDF; Tag; Lang; AltText; Expansion; Attributes )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
Tag The tag name to open.
Possible tags: Art, Artifact, Annot, BibEntry, BlockQuote, Caption, Code, Div, Document, Figure, Form, Formula, H, H1, H2, H3, H4, H5, H6, Index, Link, List, ListElem, ListText, Note, P, Part, Quote, Reference, Section, Span, Table, TableDataCell, TableHeader, TableRow, TOC, TOCEntry.
"p"
Lang RFC 3066 laguage identifier. "en-US"
AltText Alternate text.
Expansion Expansion of abbrevations or acronyms.
Attributes The attributes as JSON.

Result

Returns 1, 0 or error.

Description

Opens a new tag.
Opens a tag in the very same way as DynaPDF.OpenTag but supports additional parameters which can be set in a JSON (Javascript Object Notation) like format.
The optional parameter Attributes is a JSON like string. The JSON parser in DynaPDF supports a few extensions to make the definition of additional attributes as easy as possible.

See also OpenTagEx function in DynaPDF manual.

See also

Release notes

Blog Entries

Created 13th June 2023, last changed 5th November 2023


DynaPDF.OpenTag - DynaPDF.Optimize

💬 Ask a question or report a problem