![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
FileName Property | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.IMS.Carto Namespace > Legend Class : FileName Property |
Visual Basic (Declaration) | |
---|---|
Public Property FileName As String |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As Legend Dim value As String instance.FileName = value value = instance.FileName |
C# | |
---|---|
public string FileName {get; set;} |
By default, the ArcIMS server will generate a file name for the legend image. This default name will include the server name, service name, and a randomly generated number string.
This property allows the web application to specify a custom file name for the legend image. Do not include the extension in the name. If an extension is included, it will be stripped from the name and the extension type ignored. If desired, change the file type with the MapView's ImageDescriptor property.
If the legend is regenerated with FileName set to the same name, the legend image will be overwritten. If multiple clients request images close in time, they may receive a legend that is not correct for the map. If the FileName is set by the Web application, it is recommended to have a scheme to generate unique file names.
This property will be empty upon initialization of the Legend.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family