![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
FileName Property | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.IMS.Carto Namespace > ImageDescriptor Class : FileName Property |
Visual Basic (Declaration) | |
---|---|
Public Property FileName As String |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ImageDescriptor 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 output image or layout file. This default name will include the server name, service name, and a randomly generated number string.
These server-generated names are created when the map is drawn, and cannot be read from this property.
This property allows the web application to specify a custom file name for the output 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 ImageFormat property.
If the image is re-drawn with FileName set to the same name as the previous draw, the previous image file will be overwritten. If multiple clients request images close in time, they may receive a map or file that is not correct for their session. If the FileName is set by the Web application, it is recommended to have a scheme to generate unique file names.
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