PTContentItem
@interface PTContentItem : NSObject
Content items are graphical objects that exist in the document independently of the structure tree but are associated with structure elements.
Content items are leaf nodes of the structure tree.
-
Copy constructor and assignment operator.
Declaration
Objective-C
- (instancetype)initWithArg0:(PTContentItem *)arg0;
Swift
init!(arg0: PTContentItem!)
-
Return Value
the content item type.
-
Find the parent structure element.
-
Note
this method only applies to content items with types e_MCR or e_MCID.
Declaration
Objective-C
- (int)GetMCID;
Swift
func getMCID() -> Int32
Return Value
mcid (marked-content identifier).
-
Note
this method only applies to content items with type e_MCR.
Return Value
The stream object that contains the marked-content sequence. The function will return a non-NULL object only if the marked-content sequence resides in a content stream other than the content stream for the page (e.g. in a form XObject).