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

GetVersionNumber Method

Gets version number from a PDF file.

void GetVersionNumber(out int VersionMajor, out int VersionMinor)





Sub GetVersionNumber(ByRef VersionMajor As Integer, _
                     ByRef VersionMinor As Integer)




def GetVersionNumber(self) # returns VersionNumber

class VersionNumber:
   def __init__(self, versionMajor, versionMinor):
      self.versionMajor = versionMajor
      self.versionMinor = versionMinor
VersionNumber GetVersionNumber() throws PDFProcessorException

public class VersionNumber {
   public int versionMajor;
   public int versionMinor;
}
function GetVersionNumber(&$VersionMajor, &$VersionMinor) 





BclPrcResult GetVersionNumber(BclPDFProcessorHandle* pHandle,
                              int* poutVersionMajor,
                              int* poutVersionMinor);



Sub GetVersionNumber(VersionMajor As Long, VersionMinor As Long)





Parameters

Return Values

N/A.

Remarks

N/A.

Example Usage

Set oProcessor = CreateObject("easyPDF.PDFProcessor.8")
Set oProcessorHandle = oProcessor.OpenFile("C:\test\input.pdf", "C:\test\input.pdf")
oProcessorHandle.GetVersionNumber nMajor, nMinor
oProcessorHandle.Close
MsgBox "PDF version number of this file: " + CStr(nMajor) + "." + CStr(nMinor)