ImageGear .NET
WorkerGetPageSize Method




IntPtr inputLocation.
Specify page number.
Specify page width.
Specify page height.
Retrieves width and height of specified page in Office document.
Syntax
'Declaration
 
<DllImportAttribute("ImageGear23.Formats.Office.workerexport.dll")>
<PreserveSigAttribute()>
Public Shared Function WorkerGetPageSize( _
   ByVal inputLocation As IntPtr, _
   ByVal page As Integer, _
   ByRef width As Double, _
   ByRef height As Double _
) As Integer
'Usage
 
Dim inputLocation As IntPtr
Dim page As Integer
Dim width As Double
Dim height As Double
Dim value As Integer
 
value = WorkerImports.WorkerGetPageSize(inputLocation, page, width, height)
[DllImport("ImageGear23.Formats.Office.workerexport.dll")]
[PreserveSig()]
public static int WorkerGetPageSize( 
   IntPtr inputLocation,
   int page,
   ref double width,
   ref double height
)
[DllImport("ImageGear23.Formats.Office.workerexport.dll")]
[PreserveSig()]
public: static int WorkerGetPageSize( 
   IntPtr inputLocation,
   int page,
   ref double width,
   ref double height
) 
[DllImport("ImageGear23.Formats.Office.workerexport.dll")]
[PreserveSig()]
public:
static int WorkerGetPageSize( 
   IntPtr inputLocation,
   int page,
   double% width,
   double% height
) 

Parameters

inputLocation
IntPtr inputLocation.
page
Specify page number.
width
Specify page width.
height
Specify page height.

Return Value

Error code.
See Also

Reference

WorkerImports Class
WorkerImports Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback