C#
VB
Java
WinRT C#
C++
Sets the path for the specified LEADTOOLS resource directory.
public static void SetResourceDirectory(
LEADResourceDirectory resource,
string directory
)
Public Shared Sub SetResourceDirectory( _
ByVal resource As Leadtools.LEADResourceDirectory, _
ByVal directory As String _
)
public static void SetResourceDirectory(
Leadtools.LEADResourceDirectory resource,
string directory
)
function Leadtools.RasterDefaults.SetResourceDirectory(
resource ,
directory
)
public:
static void SetResourceDirectory(
Leadtools.LEADResourceDirectory resource,
String^ directory
)
resource
The resource directory to set.
directory
The path for the specified LEADTOOLS resource directory.
Some LEADTOOLS classes will use a common resource directory at runtime. Use SetResourceDirectory to set the path to the desired resource directory.
using Leadtools;
using Leadtools.Codecs;
using LeadtoolsExamples.Common;
private void RasterDefaultsSetResourceDirectoryExample()
{
// Set the Fonts Resource folder
RasterDefaults.SetResourceDirectory(LEADResourceDirectory.Fonts, @"SomeCommonFontsFolder");
}
Imports Leadtools
Imports Leadtools.Codecs
Imports Leadtools.ImageProcessing
Private Sub RasterDefaultsSetResourceDirectoryExample()
' Set the Fonts Resource folder
RasterDefaults.SetResourceDirectory(LEADResourceDirectory.Fonts, "SomeCommonFontsFolder")
End Sub
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET