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 information required for the page rendering event RenderContent.
Get
VB.NET | DrawInfo = object.RenderingInfo As SftPrintPreviewRenderingInfo |
VB | DrawInfo = object.RenderingInfo As SftPrintPreviewRenderingInfo |
C#.NET | SftPrintPreviewRenderingInfo DrawInfo = object.RenderingInfo; |
VC++ | struct SftPrintPreviewRenderingInfo DrawInfo = object->RenderingInfo; struct SftPrintPreviewRenderingInfo DrawInfo = object->GetRenderingInfo(); |
C | HRESULT object->get_RenderingInfo(struct SftPrintPreviewRenderingInfo* DrawInfo); |
object
DrawInfo
Returns the information required for the page rendering event RenderContent.
The RenderingInfo property returns the information required for the page rendering event RenderContent.
This method is not supported for use with Visual Basic 6.0
m_PrintFont = Nothing ElseIf e.function = SftPrintPreviewRenderContentConstants.renderSftPrintPreview_1Page Then PrintOnePage(e.visitedPageInfo, e.lastPage) End If End Sub Private Sub PrintOnePage(ByRef VisitedPageInfo As Object, ByRef LastPage As Integer) ' Print one page (can occur multiple times) ' RenderingInfo.CurrentPage has the absolute page # to print (0..n) ' RenderingInfo.PreviousVisitedPageInfo contains the value you returned in ' RenderingInfo.VisitedPageInfo when you finished printing the previous page ' This allows you to simply restart where you left off. ' The information you return in RenderingInfo.VisitedPageInfo is of type ' object, so it can be a simple Counter or even a complex object, with cached ' information.
m_PrintFont = null; else if (e.function == SftPrintPreviewRenderContentConstants.renderSftPrintPreview_1Page) PrintOnePage(ref e.visitedPageInfo, ref e.lastPage); } private void PrintOnePage(ref object visitedPageInfo, ref int lastPage) { // Print one page (can occur multiple times) // RenderingInfo.CurrentPage has the absolute page # to print (0..n) // RenderingInfo.PreviousVisitedPageInfo contains the value you returned in // RenderingInfo.VisitedPageInfo when you finished printing the previous page // This allows you to simply restart where you left off. // The information you return in RenderingInfo.VisitedPageInfo is of type // object, so it can be a simple counter or even a complex object, with cached // information.
PrintOnePage(VisitedPageInfo, LastPage); } #define LINETEXT TEXT("Softel vdm, Inc. - www.WindowsControls.com") void CSftPrintPreviewDlg::PrintOnePage(VARIANT FAR* VisitedPageInfo, long FAR* LastPage) { // Print one page (can occur multiple times) // RenderingInfo.CurrentPage has the absolute page # to print (0..n) // RenderingInfo.PreviousVisitedPageInfo contains the value you returned in // RenderingInfo.VisitedPageInfo when you finished printing the previous page // This allows you to simply restart where you left off. // The information you return in RenderingInfo.VisitedPageInfo is of type // object, so it can be a simple counter or even a complex object, with cached // information.
See Also SftPrintPreview Object | Object Hierarchy