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
Opens the specified tag so that contents can be written into it.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 13.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
The PDF reference returned from DynaPDF.New. | |||
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" | Optional |
AltText | Alternate text. | Optional | |
Expansion | Expansion of abbrevations or acronyms. | Optional | |
BoxX1 | The top left x coordiante for the tag. | Optional | |
BoxY1 | The top top y coordiante for the tag. | Optional | |
BoxX2 | The top right x coordiante for the tag. | Optional | |
BoxY2 | The top bottom y coordiante for the tag. | Optional |
Returns OK or error.
Annot | An annotation must be inserted to finish the tag! |
BibEntry | Bibliography entry |
Form | A form field must be inserted to finish the tag! |
Link | A link annotation must be inserted to finish the tag (using DynaPDF.FileLink, DynaPDF.PageLink, or DynaPDF.WebLink)! |
List | List |
ListElem | List element within a List |
ListText | List Text within a List Element |
See also OpenTag function in DynaPDF manual.
Put a P tag around some text:
Set Variable [ $r ; Value: MBS("DynaPDF.OpenTag"; $pdf; "p") ]
Set Variable [ $r ; Value: MBS("DynaPDF.WriteText"; $pdf; 100; $x; "Some black text") ]
Set Variable [ $r ; Value: MBS("DynaPDF.CloseTag"; $pdf) ]
This function checks for a license.
Created 10th March 2023, last changed 10th March 2023