public static void SetResourceDirectory(LEADResourceDirectory resource,string directory)
public:static void SetResourceDirectory(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.
Refer to LEADTOOLS Drawing Engine and Multi-Platform Consideration for more information on shadow font usage.
using Leadtools;using Leadtools.Codecs;private void RasterDefaultsSetResourceDirectoryExample(){// Set the Fonts Resource folderRasterDefaults.SetResourceDirectory(LEADResourceDirectory.Fonts, @"SomeCommonFontsFolder");}
import java.io.File;import java.io.IOException;import java.nio.file.Files;import java.nio.file.Path;import java.nio.file.Paths;import org.junit.*;import org.junit.Test;import org.junit.runner.JUnitCore;import org.junit.runner.Result;import org.junit.runner.notification.Failure;import static org.junit.Assert.*;import leadtools.*;import leadtools.codecs.*;public void RasterDefaultsSetResourceDirectoryExample() {// Set the Fonts Resource folderRasterDefaults.setResourceDirectory(LEADResourceDirectory.FONTS,"C:\\Users\\Username\\AppData\\Local\\Microsoft\\Windows\\Fonts");}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
