Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

link property

Sets or gets the color of the document links for the object.

Syntax

HRESULT value = object.put_link( v);HRESULT value = object.get_link(* p);

Property values

Type: VARIANT

one of the color names or RGB values in the Color Table.

Standards information

Remarks

When you use the IHTMLLinkElement::rel attribute of a link element, the value (and purpose) of the IHTMLLinkElement4::href attribute varies according to the value of the IHTMLLinkElement::rel attribute. For more info, see the table of supported values on the IHTMLLinkElement::rel attribute page.

The IHTMLBodyElement::link property cannot be set through the BODY object's HTMLFrameSiteEvents::onload event.

Some browsers do not recognize color names, but all browsers should recognize RGB color values and display them correctly.

See also

IHTMLLinkElement::rel

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.