Chart.ImageLocation Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the location where an image file is saved when ImageTag rendering is performed.
public:
property System::String ^ ImageLocation { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public string ImageLocation { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.ImageLocation : string with get, set
Public Property ImageLocation As String
A string
value that represents the URL where the image file is saved on the server.
- Attributes
This property has no effect if ImageStorageMode is set to ImageStorageMode.UseHttpHandler.
When you render a chart image using the image tag method, a chart image is generated and then saved to disk at the server, in a format that is determined by the ChartImageType property.
The URL where the image file is saved can be either absolute or relative; the file extension that the image file has is determined by the ChartImageType property.
The image file can be hard-coded to always be one filename, or you can use the "#" sign to use either user identifiers (UIDs) or a specified number of uniquely named files, which is known as a Round Robin.
Product | Versions |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: