dotnetCHARTING Send comments on this topic.
FileName Property
See Also  Example
dotnetCHARTING Namespace > FileManager Class : FileName Property


Sets the file name to save an image as, or gets the file name of an image that has been saved in the TempDirectory after a chart is generated.

Syntax

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

Example

C#Copy Code
Chart.FileManager.FileName="saleChart";
    
Visual BasicCopy Code
Chart.FileManager.FileName="saleChart"

Remarks

When empty, a random name will be created. In order for the cleanup system to include custom file names they must start with 'dnc-', the mask is: 'dnc-*.*'.

See Also

© 2021 All Rights Reserved.