dotnetCHARTING Send comments on this topic.
TempDirectory Property
See Also  Example
dotnetCHARTING Namespace > FileManager 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 FileManager
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.FileManager.TempDirectory = "c://inetpub/wwwroot/app/tmp";
Chart.FileManager.TempDirectory =
"/app/tmp";
Chart.FileManager.TempDirectory =
"tmp";
    
Visual BasicCopy Code
Chart.FileManager.TempDirectory = "c://inetpub/wwwroot/app/tmp"
Chart.FileManager.TempDirectory = "/app/tmp"
Chart.FileManager.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

© 2011 All Rights Reserved.