HtmlEditor.DefaultAssetImageLocation Property

Gets or sets the URL to a location in this site collection that is added to the top of the "Look In" section of the Asset Picker dialog box when selecting an image source URL.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Property DefaultAssetImageLocation As String
    Get
    Set
'Usage
Dim instance As HtmlEditor
Dim value As String

value = instance.DefaultAssetImageLocation

instance.DefaultAssetImageLocation = value
public string DefaultAssetImageLocation { get; set; }

Property Value

Type: System.String
Defaults to String.Empty.

Remarks

This URL should begin with either "~SiteCollection/" or "~Site/" followed by the relative URL to the desired Windows SharePoint Services location. If this URL refers to a valid Windows SharePoint Services location that the authoring user has access to, it appears in the "Look In" section on the left of the Asset Picker dialog box when the dialog box is launched to select an image source URL.

See Also

Reference

HtmlEditor Class

HtmlEditor Members

Microsoft.SharePoint.Publishing.WebControls Namespace

DefaultAssetImageLocation