Leadtools.Forms.DocumentWriters Namespace > DocumentWriter Class : GetFormatFriendlyName Method |
public static string GetFormatFriendlyName( DocumentFormat format )
'Declaration Public Shared Function GetFormatFriendlyName( _ ByVal format As DocumentFormat _ ) As String
'Usage Dim format As DocumentFormat Dim value As String value = DocumentWriter.GetFormatFriendlyName(format)
public static string GetFormatFriendlyName( DocumentFormat format )
function Leadtools.Forms.DocumentWriters.DocumentWriter.GetFormatFriendlyName( format )
public: static String^ GetFormatFriendlyName( DocumentFormat format )
This method will return a friendly name used for format. For example, Adobe PDF files will return a string similar to "Adobe PDF" and Microsoft Word 2003 documents will return "Microsoft Word" and so forth. You can use this value in your application when presenting the user with a list to select a format to save the documents.
For more information on the various document formats supported by the LEADTOOLS Document Writers, refer to DocumentFormat.
To get the file extension for a particular document format, use GetFormatFileExtension.