Class MarkedContentInfo
java.lang.Object
com.itextpdf.text.pdf.parser.MarkedContentInfo
Represents a Marked Content block in a PDF
- Since:
- 5.0.2
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
tag
-
dictionary
-
-
Constructor Details
-
MarkedContentInfo
-
-
Method Details
-
getTag
-
hasMcid
public boolean hasMcid()Determine if an MCID is available- Returns:
- true if the MCID is available, false otherwise
-
getMcid
public int getMcid()Gets the MCID value If the Marked Content contains an MCID entry, returns that value. Otherwise, aNullPointerExceptionis thrown.- Returns:
- the MCID value
- Throws:
NullPointerException- if there is no MCID (seehasMcid())
-