←Select platform

LEADResourceDirectory Enumeration

Summary
Specifies the LEADTOOLS resource directory.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public enum LEADResourceDirectory 
typedef NS_ENUM(NSInteger, LTLEADResourceDirectory) { 
 LTLEADResourceDirectoryLibraries,  
 LTLEADResourceDirectoryFonts,  
}; 
public final class LEADResourceDirectory 
    extends java.lang.Enum<LEADResourceDirectory> 
public enum class LEADResourceDirectory   
class LEADResourceDirectory(Enum): 
   Libraries = 0 
   Fonts = 1 
   OpenSSL = 2 
Members
ValueMemberDescription
0LibrariesIndicates the directory for the LEADTOOLS runtime libraries.
1FontsIndicates the directory for font files to be used by LEADTOOLS.
2OpenSSLIndicates the directory for OpenSSL files to be used by LEADTOOLS.
Remarks

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.

Example
C#
using Leadtools; 
using Leadtools.Codecs; 
 
 
private void RasterDefaultsSetResourceDirectoryExample() 
{ 
	// Set the Fonts Resource folder 
	RasterDefaults.SetResourceDirectory(LEADResourceDirectory.Fonts, @"SomeCommonFontsFolder"); 
} 
Requirements

Target Platforms

See Also

Reference

Leadtools Namespace

Help Version 22.0.2023.5.16
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.