ImgEdit User Control

ImgEdit Class Library

ImgEdit.GetPageCount(String) Integer

 

Retrieves the number of pages of the image.

 

[Visual Basic]

Public Function GetPageCount( _

ByVal Filename As String) As Integer

 

Parameters

    Filename

        The image filename to count the pages.

   

Return Value

    The number of pages of the image filename.

 

Example

[Visual Basic] The following example gets the page count of a image filename.

 

[Visual Basic]

Dim Pages As Integer=0

Pages = ImgEdit1.GetPageCount("C:\Test\01.tif")

 

Requirements

Platforms: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista family.

Documentation Version 1.6