public final class LinkElement extends AnnotationElement implements ITextElement
Represents Link structure element in logical structure.
Constructor and Description |
---|
LinkElement(TaggedContext taggedContext,
com.aspose.pdf.engine.data.IPdfPrimitive pdfEngineEntity) |
Modifier and Type | Method and Description |
---|---|
Hyperlink |
getHyperlink()
Gets or Sets Hyperlink for Link Element.
|
StructureTextState |
getStructureTextState()
Gets
/Aspose.Pdf.LogicalStructure.StructureTextState object for current element. |
void |
setHyperlink(Hyperlink value)
Gets or Sets Hyperlink for Link Element.
|
void |
setText(String text)
Appends text content to current text element.
|
getAlternateDescriptions, getAnnotations, setAlternateDescriptions
changeParentElement, clearId, generateId, getActualText, getAlternativeText, getAttributes, getDefaultAttributeOwner, getExpansionText, getID, getLanguage, getS, getStructureType, getTitle, setActualText, setAlternativeText, setExpansionText, setId, setLanguage, setParentElement, setTag, setTitle, toString
appendChild, findElements, findElements, getChildElements, getElementEngine, getParentElement, getTaggedContent, getTrailer
public LinkElement(TaggedContext taggedContext, com.aspose.pdf.engine.data.IPdfPrimitive pdfEngineEntity)
public final Hyperlink getHyperlink()
Gets or Sets Hyperlink for Link Element.
public final void setHyperlink(Hyperlink value)
Gets or Sets Hyperlink for Link Element.
value
- Hyperlink instancepublic final StructureTextState getStructureTextState()
Gets /Aspose.Pdf.LogicalStructure.StructureTextState
object for current element.
/Aspose.Pdf.LogicalStructure.StructureTextState
object for current element.getStructureTextState
in interface ITextElement
StructureTextState
object for text structure element.public final void setText(String text)
Appends text content to current text element.
setText
in interface ITextElement
text
- Text content.