Adds a structure element to the internal logical structure tree of the PDF document. Having a logical structure tree in a document is a requirement for PDF/A-3 compliance.
Returns the unique ID of the newly added structure element.
Item specifies the item which this structure element is associated with. Can be an instance of PdfGraphics, PdfImage or PdfAnnot, or a marked content ID returned by
the BeginMarkedContent method. Can also be set to Nothing.
Type specifies the element type such as "Document", "P", "H1", "Annot" or any other standard name.
Parent specifies the parent ID which is a unique number returned by a previous call to this method. For the root element, must be set to 0.
Page is an instance of the PdfPage object which this structure item is associated with. Can be set to Nothing.
Params is reserved for future use and should be set to an empty string.
For more information, see Section 12.4.4 - PDF/A-3 Compliance.
This method was introduced in Version 3.7.