Version

GetPrintRowsFromRows Method

Gets the export or print rows corresponding to the passed in rows from the on-screen grid.
Syntax
'Declaration
 
Public Function GetPrintRowsFromRows( _
   ByVal gridRows As RowsCollection, _
   ByVal layout As UltraGridLayout, _
   ByVal create As Boolean _
) As RowsCollection
public RowsCollection GetPrintRowsFromRows( 
   RowsCollection gridRows,
   UltraGridLayout layout,
   bool create
)

Parameters

gridRows
A rows collection from a grid layout.
layout
The print or export layout from which to get a rows collection.
create
Specifies true to indicate that if the row is not already created, it should be created now. Specify false to indicate that if the row is not already created, the creation of the row should not be forced.

Return Value

Corresponding row or null if none found.
Remarks

When printing, print-previewing or excel-exporting, the UltraGrid makes clone of the UltraGridBase.DisplayLayout to make a print layout. The print layout has it's own set of rows. This method is used to get the print layout row that corresponds to a row from the real on-screen grid. This

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also