Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.28
|
Leadtools Namespace > RasterDefaults Class : SetResourceDirectory Method |
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)
public: static void SetResourceDirectory( LEADResourceDirectory resource, String^ directory )
Some LEADTOOLS classes will use a common resource directory at runtime. Use SetResourceDirectory to set the path to the desired resource directory.
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"); }