Version

ImageDirectory Property (WebHtmlEditor)

Gets or sets a virtual, relative, or absolute pathname of the directory containing all of the images used by the WebHtmlEditor.
Syntax
'Declaration
 
Public Overrides Property ImageDirectory As String
public override string ImageDirectory {get; set;}

Property Value

A string representing the virtual, relative, or absolute pathname of the directory containing all of the images used by the WebHtmlEditor. The default value is "/ig_common/images/htmleditor/".
Remarks

WebHtmlEditor for .NET automatically assumes that all images are in the directory specified by WebHtmlEditor.ImageDirectory. For example (using WebHtmlEditor.BackgroundImageName as an example), if the value of WebHtmlEditor.ImageDirectory is "/ig_common/images/htmleditor/" (the default) and the WebHtmlEditor.BackgroundImageName property was set to "myimage.jpg", the control would assume the file can be found at "/ig_common/images/htmleditor/myimage.jpg". If the WebHtmlEditor.BackgroundImageName property was set to a string that has some form of directory designation, such as "slashes" within it (for example "C:\temp\myimage.jpg") the control would no longer assume that the image is within WebHtmlEditor.ImageDirectory but would use the full path you supplied for this property.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also