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 saved page information for a given page.
Get
VB.NET | Info = object.get_VisitedPageInfo(ByVal PageNumber As Integer) As Object |
VB | Info = object.VisitedPageInfo(ByVal PageNumber As Long) As Variant |
C#.NET | object Info = object.get_VisitedPageInfo(int PageNumber); |
VC++ | _variant_t Info = object->VisitedPageInfo[long PageNumber]; _variant_t Info = object->GetVisitedPageInfo(long PageNumber); |
C | HRESULT object->get_VisitedPageInfo(long PageNumber, VARIANT* Info); |
object
PageNumber
The zero-based page number, for which saved page information is requested. The valid range is 0 .. maximum visited pages. The last visited page number is available using the VisitedPages property.
Info
Returns saved page information for a given page.
The VisitedPageInfo property returns saved page information for a given page.
When the RenderContent event is called with a Function argument of renderSftPrintPreview_1Page, the application renders the requested page. At the end, it can save an application defined value in the VisitedPageInfo argument of the event. This value can be a simple long value, or even an object or a pointer to an application allocated structure. In either case, the value describes the exact output position necessary to resume printing (the next page). SftPrintPreview/OCX saves all these returned values and they are accessible through the VisitedPageInfo property. The VisitedPageInfo property is an array of application-defined values, one entry for each visited page (starting at the first page, page 0). Up to VisitedPages entries are available.
The VisitedPages property is used to determine the total number of currently visited pages. The TotalPages property contains the total number of pages.
See Also SftPrintPreview Object | Object Hierarchy