.netCHARTING v10.7 Documentation
Example 


dotnetCHARTING Namespace > FileManager Class : TempDirectory Property
TempDirectory Property (FileManager)
Gets or sets the directory where images generated by the control are temporarily stored.
Syntax
'Declaration
 
Public Property TempDirectory As String
'Usage
 
Dim instance As FileManager
Dim value As String
 
instance.TempDirectory = value
 
value = instance.TempDirectory
public string TempDirectory {get; set;}
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).
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/.
Chart.FileManager.TempDirectory = "c://inetpub/wwwroot/app/tmp";
Chart.FileManager.TempDirectory = "/app/tmp";
Chart.FileManager.TempDirectory = "tmp";
Chart.FileManager.TempDirectory = "c://inetpub/wwwroot/app/tmp"
Chart.FileManager.TempDirectory = "/app/tmp"
Chart.FileManager.TempDirectory = "tmp"
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also