public final class MCRElement extends Element
Represents marked-content reference object in logical structure.
Constructor and Description |
---|
MCRElement(TaggedContext taggedContext,
com.aspose.pdf.engine.data.IPdfPrimitive pdfEngineEntity)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getContent()
Gets text content for marked-content reference element.
|
Double[] |
getImageHeight()
For internal usage only
|
Double[] |
getImageResolution()
For internal usage only
|
String |
getImageSrc()
Gets image source for marked-content reference element.
|
Double[] |
getImageWidth()
For internal usage only
|
int |
getMCID()
Gets MCID of marked-content reference object.
|
Page |
getPage()
Get Page instance
|
boolean |
isCreatedElement() |
void |
setBdcOperator(BDC value)
Set BDC Operator
|
void |
setContent(String value)
Gets text content for marked-content reference element.
|
void |
setHyperlink(Hyperlink hyperlink) |
void |
setImageHeight(Double[] value)
For internal usage only
|
void |
setImageResolution(Double[] value)
For internal usage only
|
void |
setImageSrc(String value)
Gets image source for marked-content reference element.
|
void |
setImageWidth(Double[] value)
For internal usage only
|
void |
setNewMCID(int value)
Get MCID value
|
void |
setPage(Page value)
Set Page instance
|
String |
toString()
Returns a string that represents the current object.
|
appendChild, findElements, findElements, getChildElements, getElementEngine, getParentElement, getTaggedContent, getTrailer, setParentElement
public MCRElement(TaggedContext taggedContext, com.aspose.pdf.engine.data.IPdfPrimitive pdfEngineEntity)
taggedContext
- TaggedContext instancepdfEngineEntity
- Internal instancepublic final void setHyperlink(Hyperlink hyperlink)
public final boolean isCreatedElement()
public final Page getPage()
public final void setPage(Page value)
value
- Page instancepublic final void setNewMCID(int value)
value
- MCID valuepublic final void setBdcOperator(BDC value)
value
- BDC Operatorpublic final String getImageSrc()
Gets image source for marked-content reference element.
For just created IllustrationElement
. Is null in other cases.
public final void setImageSrc(String value)
Gets image source for marked-content reference element.
For just created IllustrationElement
. Is null in other cases.
value
- Image source for marked-content reference element.public final Double[] getImageResolution()
public final void setImageResolution(Double[] value)
value
- For internal usage onlypublic final Double[] getImageWidth()
public final void setImageWidth(Double[] value)
value
- For internal usage onlypublic final Double[] getImageHeight()
public final void setImageHeight(Double[] value)
value
- For internal usage onlypublic final String getContent()
Gets text content for marked-content reference element.
For just created object wich implement ITextElement
. Is null in other cases.
public final void setContent(String value)
Gets text content for marked-content reference element.
For just created object wich implement ITextElement
. Is null in other cases.
value
- Text content for marked-content reference element.public final int getMCID()
Gets MCID of marked-content reference object.