Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
Leadtools.Forms.DocumentWriters Namespace > DocumentWriter Class : GetFormatFileExtension Method |
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 )
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.