ESRI.ArcGIS.ADF.IMS
PhysicalDirectory Property
See Also 
ESRI.ArcGIS.ADF.IMS.Carto Namespace > Legend Class : PhysicalDirectory Property




Gets or sets the physical directory location for the legend image output.

Syntax

Visual Basic (Declaration) 
Public Property PhysicalDirectory As String
Visual Basic (Usage)Copy Code
Dim instance As Legend
Dim value As String
 
instance.PhysicalDirectory = value
 
value = instance.PhysicalDirectory
C# 
public string PhysicalDirectory {get; set;}

Example

For an example, see the VirtualDirectory property.

Remarks

This is the physical location where the legend image will be written to when drawn. This location is set by the ArcIMS administrator in the properties of the map service. It does not normally need to be changed unless you have specific needs to write images to a different location on disk.

If the PhysicalDirectory is changed, then the VirtualDirectory must be changed so that both locations point to the same location. Web clients retrieve the legend image from the virtual directory, so that if the Web virtual directory does not point to the correct physical directory, Web clients will be unable to retrieve the image.

This property will be empty upon initialization of the Legend.

See Also

© 2010 All Rights Reserved.