Error processing SSI file
LEADTOOLS (Leadtools assembly)

Show in webframe

SetResourceDirectory Method








The resource directory to set.
The path for the specified LEADTOOLS resource directory.
Sets the path for the specified LEADTOOLS resource directory.
Syntax
public static void SetResourceDirectory( 
   LEADResourceDirectory resource,
   string directory
)
'Declaration
 
Public Shared Sub SetResourceDirectory( _
   ByVal resource As LEADResourceDirectory, _
   ByVal directory As String _
) 
'Usage
 
Dim resource As LEADResourceDirectory
Dim directory As String
 
RasterDefaults.SetResourceDirectory(resource, directory)
public static void SetResourceDirectory( 
   LEADResourceDirectory resource,
   string directory
)
public static void setResourceDirectory(LEADResourceDirectory resource, String directory)
 function Leadtools.RasterDefaults.SetResourceDirectory( 
   resource ,
   directory 
)
public:
static void SetResourceDirectory( 
   LEADResourceDirectory resource,
   String^ directory
) 

Parameters

resource
The resource directory to set.
directory
The path for the specified LEADTOOLS resource directory.
Remarks

Some LEADTOOLS classes will use a common resource directory at runtime. Use SetResourceDirectory to set the path to the desired resource directory.

Example
Copy Code  
Imports Leadtools
Imports Leadtools.Codecs
Imports Leadtools.ImageProcessing

Private Sub RasterDefaultsSetResourceDirectoryExample()
   ' Set the Fonts Resource folder
   RasterDefaults.SetResourceDirectory(LEADResourceDirectory.Fonts, "SomeCommonFontsFolder")
End Sub
using Leadtools;
using Leadtools.Codecs;

private void RasterDefaultsSetResourceDirectoryExample()
{
   // Set the Fonts Resource folder
   RasterDefaults.SetResourceDirectory(LEADResourceDirectory.Fonts, @"SomeCommonFontsFolder");
}
Requirements

Target Platforms

See Also

Reference

RasterDefaults Class
RasterDefaults Members

Error processing SSI file