Gets the default file extension for the specified document format.
public static string GetFormatFileExtension(
DocumentFormat format
)
Public Shared Function GetFormatFileExtension( _
ByVal format As Leadtools.Forms.Documentwriters.DocumentFormat _
) As String
public static string GetFormatFileExtension(
Leadtools.Forms.Documentwriters.DocumentFormat format
)
+ (NSString *)fileExtensionForFormat:(LTDocumentFormat)format
public static String getFormatFileExtension(DocumentFormat format)
function Leadtools.Forms.DocumentWriters.DocumentWriter.GetFormatFileExtension(
format
)
public:
static String^ GetFormatFileExtension(
Leadtools.Forms.Documentwriters.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.
For an example, refer to DocumentWriter.
Programming with LEADTOOLS Document Writers
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