Share via


Application.WebAddToFavorites Method

Project Developer Reference

Adds a link to the current document or selection to the Favorites folder. This method is unavailable if the file has never been saved.

Syntax

expression.WebAddToFavorites(CurrentLink)

expression   A variable that represents an Application object.

Parameters

Name Required/Optional Data Type Description
CurrentLink Optional Boolean True if a link will be added to the current selection. False if a link will be added to the current document. The default value is False.

Return Value
Boolean

See Also