.netCHARTING v10.7 Documentation
Example 


dotnetCHARTING Namespace > Chart Class : TempDirectory Property
TempDirectory Property (Chart)
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 Chart
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.TempDirectory = "c://inetpub/wwwroot/app/tmp";
Chart.TempDirectory = "/app/tmp";
Chart.TempDirectory = "tmp";
Chart.TempDirectory = "c://inetpub/wwwroot/app/tmp"
Chart.TempDirectory = "/app/tmp"
Chart.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