Leadtools.Mrc Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
GetPagesCount Method
See Also 
Leadtools.Mrc Namespace > MrcSegmenter Class : GetPagesCount Method




fileName
MRC file name.
Gets the number of pages in an MRC file.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetPagesCount( _
   ByVal fileName As String _
) As Integer
Visual Basic (Usage)Copy Code
Dim fileName As String
Dim value As Integer
 
value = MrcSegmenter.GetPagesCount(fileName)
C# 
public static int GetPagesCount( 
   string fileName
)
Managed Extensions for C++ 
public: static int GetPagesCount( 
   string* fileName
) 
C++/CLI 
public:
static int GetPagesCount( 
   String^ fileName
) 

Parameters

fileName
MRC file name.

Example

Refer to LoadImage example.

Remarks

Use this method to get the number of pages in an MRC file.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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