Gets the default file extension for the specified document format.
public static string GetFormatFileExtension(
DocumentFormat format
)
Public Shared Function GetFormatFileExtension( _
ByVal format As DocumentFormat _
) As String
+ (NSString *)fileExtensionForFormat:(LTDocumentFormat)format
public static String getFormatFileExtension(DocumentFormat format)
public:
static String^ GetFormatFileExtension(
DocumentFormat format
)
format
The document format requested.
A String containing the file extension for the specified format (without the ".").
This method will return the default file extension commonly used with file of types format. For example, Adobe PDF files commonly have "pdf" extensions, Microsoft Word 2003 documents commonly have "doc" extensions and so forth.
For more information on the various document formats supported by the LEADTOOLS Document Writers, refer to DocumentFormat.
To get a friendly name for a particular document format use GetFormatFriendlyName.
Programming with LEADTOOLS Document Writers
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