Show TOC Start of Content Area

Object documentation LinkToURL This graphic is explained in the accompanying text  Locate the document in its SAP Library structure

Definition

The LinkToURL UI element is a kind of hypertext link.Navigating to this link leads to a user-defined Web resource (URL).

You can assign a popup menu to LinkToURL which the user can recognize by this symbol: This graphic is explained in the accompanying text.

Description of UI Element Properties

      activateAccessKey

Indicates whether access key for this control is activated. More information: Enabling Access Keys

      design

specifies the design of the LinkToAction. The design property can take the following values and is represented by enumeration type WDLinkDesign.

1.        emphasized. Highlights the text.

2.        standard. Displays the text using the standard font size.

      hotkey

specifies the key combination that triggers the onAction event. The value is defined as enumeration type WDHotKey.

      imageFirst

Defines the position of the icon in relation to the corresponding text. If the value of this property is true, the icon is displayed to the left of the text.

      imageHeight

Specifies the height of the graphic next to the link. You can specify the height in CSS units like em, ex, pixels, or percentage.

      imageSource

defines the path to the image source.

More Information: Specifying the Image Source

      imageWidth

Specifies the width of the graphic next to the LinkToURL. You can specify the width in CSS units like em, ex, pixel, or percentage.

      reference

Describes the address of the Web page to be opened.

      size

This property is deprecated.

      target

Specifies the browser window in which the page is to be opened. You can manually specify the name of the target window or use the following values:

       "" The page is opened in a new window without a name. This is the default value.

       _self is no longer supported. Use exit plugs instead and specify the URL there.

      text
Describes the label text.

      textDirection

Specifies the text direction and allows you to use a LinkToURL element for texts in languages that require a specific text direction. The textDirectionproperty can be filled with the following values and is represented by the enumeration type WDTextDirection.

inherit

The text direction is inherited from the parent element. Therefore, the text direction is identical to the one of the parent element.

ltr

The text runs from left to right.

rtl

The text runs from right to left.

The default value for this property is inherit.

      type

Specifies the graphical design of the UI element. The typeproperty can be filled with the following values and is represented by the enumeration type WDLinkType.

function

This graphic is explained in the accompanying text

Link is displayed underlined in the standard design.

navigation

This graphic is explained in the accompanying text

Link is displayed underlined and with a font color that is used for links already visited.

reporting

This graphic is explained in the accompanying text

Link is displayed not underlined in the standard design.

result

This graphic is explained in the accompanying text

Link is displayed not underlined.

      wrapping

Indicates whether or not the link text is wrapped. If the initial value is false, the link text is not wrapped.

Properties Overview

Name

Interface

Type

Initial Value

Bindable

activateAccessKey

IWDLink

boolean

false

not bindable

design

IWDLink

WDLinkDesign

standard

bindable

enabled

IWDUIElement

boolean

true

bindable

hotkey

IWDLinkToURL

WDHotkey

none

not bindable

imageFirst

IWDAbstractCaption

boolean

true

bindable

imageHeight

IWDLink

String (CSS size)

 

bindable

imageSource

IWDAbstractCaption

String

 

bindable

imageWidth

IWDLink

String (CSS size)

 

bindable

reference

IWDLinkToURL

String

 

bindable

size

IWDLink

WDLinkSize

standard

bindable

target

IWDLinkToURL

String

 

bindable

text

IWDLink

String (TranslatableText)

 

bindable

textDirection

IWDAbstractCaption

WDTextDirection

inherit

bindable

tooltip

IWDUIElement

String (TranslatableText)

 

bindable

type

IWDLinkToURL

WDLinkType

navigation

bindable

visible

IWDUIElement

WDVisibility

visible

bindable

wrapping

IWDLink

boolean

false

bindable

 

 

End of Content Area