BCL easyPDF SDK
easyPDF SDK Usermanual
PDF Creator Programming API  |  Download Free Trial  |  Contact Us to Purchase

GetFileExtensionOf Method

Gets file extension of a given file.

Function GetFileExtensionOf(FileName As String) As String

string GetFileExtensionOf(string FileName)

String GetFileExtensionOf(String FileName) throws PrinterException

Parameters

Remarks

N/A.

Example Usage

Set oPrinter = CreateObject("easyPDF.Printer.8")

sExt = oPrinter.GetFileExtensionOf("C:\test\input.doc")

MsgBox "File extension: " + sExt