SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Returns the area of the displayed page (in pixels).
VB.NET | object.GetPageArea(ByVal PageNumber As Integer, ByRef left As Integer, ByRef top As Integer, ByRef width As Integer, ByRef height As Integer) |
VB | object.GetPageArea(ByVal PageNumber As Long, left As Long, top As Long, width As Long, height As Long) |
C#.NET | void object.GetPageArea(int PageNumber, out int left, out int top, out int width, out int height); |
VC++ | HRESULT object->GetPageArea(long PageNumber, long* left, long* top, long* width, long* height); |
C | HRESULT object->raw_GetPageArea(long PageNumber, long* left, long* top, long* width, long* height); |
object
PageNumber
The zero-based, relative page number of a multi-page preview display or 0 for a single-page display.
left
Returns the horizontal starting position in pixels of the requested page relative to the top, left corner of the control client area.
top
Returns the vertical starting position in pixels of the requested page relative to the top, left corner of the control client area.
width
Returns the width in pixels of the requested page.
height
Returns the height in pixels of the requested page.
The GetPageArea method returns the area of the displayed page (in pixels).
The GetPageArea method is used to retrieve the position and size of pages in preview mode. To determine the page at a specific location, use the HitTest method instead.
See Also SftPrintPreview Object | Object Hierarchy