|
iText 9.7.0 API
|
This class represents a single tag on a single piece of marked content. More...
Public Member Functions |
|
| CanvasTag (PdfName role) | |
| Creates a tag that is referenced to the document's tag structure (i.e. logical structure). More... |
|
| CanvasTag (PdfName role, int mcid) | |
| Creates a tag that is referenced to the document's tag structure (i.e. logical structure). More... |
|
| CanvasTag (PdfMcr mcr) | |
| Creates a tag that is referenced to the document's tag structure (i.e. logical structure). More... |
|
| virtual PdfName | GetRole () |
| Get the role of the tag. More... |
|
| virtual int | GetMcid () |
| Get the marked content id of the tag. More... |
|
| virtual bool | HasMcid () |
| Determine if an MCID is available More... |
|
| virtual iText.Kernel.Pdf.Canvas.CanvasTag | SetProperties (PdfDictionary properties) |
| Sets a dictionary of properties to the tag 's properties. More... |
|
| virtual iText.Kernel.Pdf.Canvas.CanvasTag | AddProperty (PdfName name, PdfObject value) |
| Adds a single property to the tag 's properties. More... |
|
| virtual iText.Kernel.Pdf.Canvas.CanvasTag | RemoveProperty (PdfName name) |
| Removes a single property from the tag 's properties. More... |
|
| virtual PdfObject | GetProperty (PdfName name) |
| Gets a property from the tag 's properties dictionary. More... |
|
| virtual PdfDictionary | GetProperties () |
| Get the properties of the tag. More... |
|
| virtual String | GetActualText () |
| Gets value of /ActualText property. More... |
|
| virtual String | GetExpansionText () |
Package Attributes |
|
| PdfName | role |
| The type of the tag. More... |
|
| PdfDictionary | properties |
| The properties of the tag. More... |
|
This class represents a single tag on a single piece of marked content.
This class represents a single tag on a single piece of marked content.
In Tagged PDF, a tag is the basic structure unit for marking content. The tag structure and hierarchy is largely comparable to HTML. As in HTML, every tag type has a name, defined here in the role attribute. The tagging mechanism in Tagged PDF is extensible, so PDF creators can choose to create custom tags.
|
inline |
Creates a tag that is referenced to the document's tag structure (i.e. logical structure).
| role | the type of tag |
|
inline |
Creates a tag that is referenced to the document's tag structure (i.e. logical structure).
| role | the type of tag |
| mcid | marked content id which serves as a reference to the document's logical structure |
|
inline |
Creates a tag that is referenced to the document's tag structure (i.e. logical structure).
| mcr | the Marked Content Reference wrapper object |
|
inlinevirtual |
|
inlinevirtual |
Gets value of /ActualText property.
null if actual text is not defined
|
inlinevirtual |
Get the marked content id of the tag.
|
inlinevirtual |
Get the properties of the tag.
Gets a property from the tag 's properties dictionary.
| name | the key of the key-value pair to be retrieved |
|
inlinevirtual |
Get the role of the tag.
|
inlinevirtual |
Determine if an MCID is available
|
inlinevirtual |
|
inlinevirtual |
|
package |
The properties of the tag.
|
package |
The type of the tag.