|
|
|
|
|
- Properties specific to docElementLink variables
docElementLink (Variable type) In french: docElémentLien
The docElementLink type is used to get the advanced characteristics of a Link element in a docElement variable. The characteristics of the docElementLink variable can be identified and changed using different WLanguage properties. CAUTION: This type must not be used directly. It must be used via the docElement type.
TT_MonDoc = ""
elt is docElement
elt.Type = typeDocElementLink
elt.Link.Link = "https://www.pcsoft.com"
elt.Link.Type = typeDocLinkURL
f is docFragment(TT_MonDoc, 1)
DocInsert(f, elt)
FOR EACH eltInsere OF f.Element
let parent = eltInsere.Parent
parent.Link.Content.Text = "Site de PC SOFT"
parent.Link.Content.Formatting.TextColor = DarkBlue
parent.Link.Content.Formatting.UnderlineColor = DarkBlue
parent.Link.Content.Formatting.FontUnderlined = True
BREAK
END
Properties Properties specific to docElementLink variables The following properties can be used to handle a lilnk in a document:
| | | Property name | Type used | Effect |
---|
Content | docFragment variable | Text associated with the link. | Link | Character string | Link content (file path, site name, etc.). The link caption cannot be known. | Tooltip | Character string | Content of tooltip associated with the link. | Type | Integer | Type of link: - typeDocBookmarkLink Bookmark link.
- typeDocLienURL URL link to open a document.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|