suite4.net.FormDatabase Documentation

IProject.ImagePathAbsolute Property

Gets or sets the (absolute) path to a directory on the server where images contained in IForm instances should be stored.

[Visual Basic]
Property ImagePathAbsolute As String
[C#]
string ImagePathAbsolute {get; set;}

Property Value

An absolute path to a directory for storing IForm images.

Remarks

This property is used by the SerializeToSwfXml method. If the IForm to be serialized contains images, these need to be written to a directory on the server so they can be dynamically loaded by the WebLoader later on. ImagePathAbsolute provides this directory information to callers.

The ASP.NET process account (ASPNET under Windows 2000, or NETWORK SERVICE under Windows Server 2003, respectively) must be granted write permission on this directory since the FormDatabase will dynamically write any images contained in an IForm instance to this directory when the SerializeToSwfXml method is called.

Example

project.ImagePathAbsolute = Server.MapPath("\\MyImageDir");

See Also

IProject Interface | suite4.net.FormDatabase Namespace