Error processing SSI file
LEADTOOLS Forms (Leadtools.Forms.DocumentWriters assembly)

Show in webframe

GetFormatFileExtension Method








The document format requested.
Gets the default file extension for the specified document format.
Syntax
public static string GetFormatFileExtension( 
   DocumentFormat format
)
'Declaration
 
Public Shared Function GetFormatFileExtension( _
   ByVal format As DocumentFormat _
) As String
'Usage
 
Dim format As DocumentFormat
Dim value As String
 
value = DocumentWriter.GetFormatFileExtension(format)
public static string GetFormatFileExtension( 
   DocumentFormat format
)
+ (NSString *)fileExtensionForFormat:(LTDocumentFormat)format
public static String getFormatFileExtension(DocumentFormat format)
 function Leadtools.Forms.DocumentWriters.DocumentWriter.GetFormatFileExtension( 
   format 
)
public:
static String^ GetFormatFileExtension( 
   DocumentFormat format
) 

Parameters

format
The document format requested.

Return Value

A String containing the file extension for the specified format (without the ".").
Remarks

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.

Example
For an example, refer to DocumentWriter.
Requirements

Target Platforms

See Also

Reference

DocumentWriter Class
DocumentWriter Members
DocumentPage Class
DocumentFormat Enumeration
Programming with LEADTOOLS Document Writers
Files to be Included with Your Application
Unlocking Special LEAD Features

Error processing SSI file
Leadtools.Forms.DocumentWriters requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features