Dart.PowerWEB.TextBox Namespace > HtmlBox Class : ImagesDirectory Property |
Gets or sets a virtual, relative, or absolute pathname of the directory containing all of the images used by the HtmlBox.
[Visual Basic]
<DescriptionAttribute("Select the directory where images are stored")>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Dart.PowerWEB.TextBox.SelectDirectory, Dart.PowerWEB.TextBox, Version=3.1.7.2300, Culture=neutral, PublicKeyToken=5966291b8955e4bb")>
Public Property ImagesDirectory As String
[C#]
[DescriptionAttribute("Select the directory where images are stored")]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Dart.PowerWEB.TextBox.SelectDirectory, Dart.PowerWEB.TextBox, Version=3.1.7.2300, Culture=neutral, PublicKeyToken=5966291b8955e4bb")]
public string ImagesDirectory {get; set;}
[C++]
[DescriptionAttribute("Select the directory where images are stored")]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Dart.PowerWEB.TextBox.SelectDirectory, Dart.PowerWEB.TextBox, Version=3.1.7.2300, Culture=neutral, PublicKeyToken=5966291b8955e4bb")]
public: __property string* get_ImagesDirectory();
public: __property void set_ImagesDirectory(
string* value
);
[C++/CLI]
[DescriptionAttribute("Select the directory where images are stored")]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Dart.PowerWEB.TextBox.SelectDirectory, Dart.PowerWEB.TextBox, Version=3.1.7.2300, Culture=neutral, PublicKeyToken=5966291b8955e4bb")]
public:
property String^ ImagesDirectory {
String^ get();
void set (String^ value);
}
A string representing the virtual, relative, or absolute pathname of the directory containing all of the images used by the HtmlBox. The default value is "/PowerWEB_TextBox_Common/images".
PowerWEB TextBox for .NET automatically assumes that all images are in the directory specified by HtmlBox.ImagesDirectory. For example (using HtmlBox.BackgroundImageName as an example), if the value of HtmlBox.ImagesDirectory is "/PowerWEB_TextBox_Common/images" (the default) and the HtmlBox.BackgroundImageName property was set to "myimage.jpg", the control would assume the file can be found at "/PowerWEB_TextBox_Common/images/myimage.jpg". If the HtmlBox.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 HtmlBox.ImagesDirectory but would use the full path you supplied for this property.
Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista
HtmlBox Class | HtmlBox Members
Send comments on this topic.
Documentation version 3.2.0.0.
© 2009 Dart Communications. All rights reserved.