LinkElement

Vue de l’ensemble

‘LinkElement’ est une classe dans Aspose.PDF FOSS pour Java.Déduit de: Elément.

Il représente un élément de structure en ligne (LINK) dans l’arbre de structuration logique (ISO 32000-1:2008, §14.8.4.4, Table 338).

Cette classe fournit 18 méthodes pour travailler avec les objets LinkElement dans les programmes Java. Les méthodologies disponibles comprennent: ‘LinkElements’, ‘adjustPosition’, appendChild', ‘getAlternateDescription’, 'getHyperlink', ’getLanguage', ‚getPositionSettings‘, ' getStructureElment, ‘ghetStructuresTextState’, ‘GhetTeXT’, ’GetTitle’ et 6 méthode supplémentaires. Tous les membres publics sont accessibles à toute application Java après l’installation de l’Aspose.PDF FOSS pour le package Java . Propriétés : ‘alternateDiscretion’, «alternativeTexte», ‘hypertext’, langue, positionnature, structure, 3’ et plus.

Propriétés

NameTypeAccessDescription
hyperlinkStringReadReturns the hyperlink URL.
textStringReadReturns the actual text (/ActualText) of this element.
languageStringReadReturns the language (/Lang) of this element.
structureElementStructureElementReadReturns the underlying structure element.
titleStringReadReturns the title (/T) of this element.
alternateDescriptionStringReadReturns the alternate description (/Alt) of this element.
structureTextStateStructureTextStateReadReturns the structure text state for this element.
alternativeTextStringReadReturns the alternative text (/Alt) for this element.
positionSettingsPositionSettingsReadReturns the position settings for this element.

méthodes

SignatureDescription
LinkElement(se: StructureElement)Creates a Link element wrapping the given structure element.
setHyperlink(url: String)Sets the hyperlink URL for this link element.
getHyperlink()StringReturns the hyperlink URL.
setText(text: String)Sets the actual text (/ActualText) for this element.
getText()StringReturns the actual text (/ActualText) of this element.
setLanguage(lang: String)Sets the language (/Lang) for this element.
getLanguage()StringReturns the language (/Lang) of this element.
appendChild(child: Element)Appends a child element.
getStructureElement()StructureElementReturns the underlying structure element.
setTitle(title: String)Sets the title (/T) for this element.
getTitle()StringReturns the title (/T) of this element.
setAlternateDescription(alt: String)Sets the alternate description (/Alt) for this element.
getAlternateDescription()StringReturns the alternate description (/Alt) of this element.
getStructureTextState()StructureTextStateReturns the structure text state for this element.
setAlternativeText(text: String)Sets the alternative text (/Alt) for this element.
getAlternativeText()StringReturns the alternative text (/Alt) for this element.
adjustPosition(settings: PositionSettings)Adjusts the position of this element using the given settings.
getPositionSettings()PositionSettingsReturns the position settings for this element.

Voir aussi

  • Aspose.PDF pour Java — API d’entreprise
 Français