LEADTOOLS Forms (Leadtools.Forms.DocumentWriters assembly)
LEAD Technologies, Inc

GetFormatFriendlyName Method






The document format requested.
Gets the friendly name of the specified document format. .NET support
Syntax
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
) 

Parameters

format
The document format requested.

Return Value

A System.String containing the friendly name for the specified format.
Remarks

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.

Example
For an example, refer to DocumentWriter.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

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

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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