ImageGear .NET
WorkerGetPageCount Method




IntPtr inputLocation.
Pointer to Int16 to retrieve page count.
Retrieves a count of pages in Office document.
Syntax
'Declaration
 
<DllImportAttribute("ImageGear23.Formats.Office.workerexport.dll")>
<PreserveSigAttribute()>
Public Shared Function WorkerGetPageCount( _
   ByVal inputLocation As IntPtr, _
   ByRef pageCount As Short _
) As Integer
'Usage
 
Dim inputLocation As IntPtr
Dim pageCount As Short
Dim value As Integer
 
value = WorkerImports.WorkerGetPageCount(inputLocation, pageCount)
[DllImport("ImageGear23.Formats.Office.workerexport.dll")]
[PreserveSig()]
public static int WorkerGetPageCount( 
   IntPtr inputLocation,
   ref short pageCount
)
[DllImport("ImageGear23.Formats.Office.workerexport.dll")]
[PreserveSig()]
public: static int WorkerGetPageCount( 
   IntPtr inputLocation,
   ref short pageCount
) 
[DllImport("ImageGear23.Formats.Office.workerexport.dll")]
[PreserveSig()]
public:
static int WorkerGetPageCount( 
   IntPtr inputLocation,
   short% pageCount
) 

Parameters

inputLocation
IntPtr inputLocation.
pageCount
Pointer to Int16 to retrieve page count.

Return Value

Error code.
See Also

Reference

WorkerImports Class
WorkerImports Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback