Xceed DataGrid for WPF v7.2 Documentation
InitializeSettings(PrintDialog) Method


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.Print Namespace > DataGridPaginator Class > InitializeSettings Method : InitializeSettings(PrintDialog) Method
A PrintDialog that containing the values used to initialize the paginator settings.
Initializes the paginator settings using the values provided by the specified PrintDialog.
Syntax
'Declaration
 
Public Overloads Sub InitializeSettings( _
   ByVal printDialog As PrintDialog _
) 
'Usage
 
Dim instance As DataGridPaginator
Dim printDialog As PrintDialog
 
instance.InitializeSettings(printDialog)
public void InitializeSettings( 
   PrintDialog printDialog
)

Parameters

printDialog
A PrintDialog that containing the values used to initialize the paginator settings.
Remarks
When running in XBAP, the InitializeSettings method will not throw; however, if not running using FullTrust permissions the chosen print queue's options cannot be extrapolated, therefore a safe assumption of 36.0d for the printer margins will be made.
Requirements

Target Platforms: Windows 11, Windows, 10, 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

Reference

DataGridPaginator Class
DataGridPaginator Members
Overload List