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.


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
public string TempDirectory {get; set;}


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 =
Chart.TempDirectory =
Visual BasicCopy Code
Chart.TempDirectory = "c://inetpub/wwwroot/app/tmp"
Chart.TempDirectory = "/app/tmp"
Chart.TempDirectory = "tmp"


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

© 2018 All Rights Reserved.