PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of docElementLink variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
The docElementLink type is used to find out the advanced characteristics of a Link element found in a docElement variable.
The characteristics of docElementLink variable can be defined and modified by several WLanguage properties.
CAUTION: This type cannot be used directly. It must be used via the docElement type.
Caution: This documentation presents the last features of the Word Processing control. Make sure that all the necessary modules are updated.This type of variable is available from version 220071.
Example
// Load the document
MyDoc is Document = "C:\temp\doc.docx"
elt is docElement
elt..Link..Link = "www.windev.com"
elt..Link..Type = typeDocLinkURL
DocAdd(MyDoc, elt)
Remarks

Properties specific to the description of docElementLink variables

The following properties can be used to handle a lilnk in a document:
Property nameType usedEffect
Versions 23 and later
Tooltip
New in version 23
Tooltip
Tooltip
Character stringContent of tooltip associated with the link.
Versions 23 and later
Content
New in version 23
Content
Content
DocFragment variableText associated with the link.
LinkCharacter stringLink content (file path, site name, ...). The link caption cannot be known.
Note: This property is available in read-only.
TypeIntegerType of link :
  • typeDocLinkBookmark: Bookmark link.
  • typeDocLinkURL: URL link used to open a document.
Note: This property is available in read-only.

Note: These properties can be handled by using one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>
Minimum required version
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment