dotnetCHARTING Send comments on this topic.
TempDirectory Property
See Also  Example
dotnetCHARTING Namespace > Chart Class : TempDirectory Property


Gets or sets the directory where images generated by the control are temporarily stored.

Syntax

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

Example

This examples demonstrate different ways of accessing the same folder: 'c:/inetpub/wwwroot/app/tmp' when the applications is located in ...wwwroot/app. when started with '/' the folder resets to c:/inetpub/wwwroot/.
C#Copy Code
Chart.TempDirectory = "c://inetpub/wwwroot/app/tmp";
Chart.TempDirectory =
"/app/tmp";
Chart.TempDirectory =
"tmp";
    
Visual BasicCopy Code
Chart.TempDirectory = "c://inetpub/wwwroot/app/tmp"
Chart.TempDirectory = "/app/tmp"
Chart.TempDirectory = "tmp"

Remarks

This property takes either an absolute path 'c:/inetpub/wwwroot/app/tmp', a relative path ('tmp', '../tmp',) or when started with '/' a relative path from c:/inetpub/wwwroot/ ('/app/tmp).

See Also

© 2016 All Rights Reserved.