FlexPivot for WinForms
PrintGrid(String,PrintGridFlags) メソッド

C1.Win.C1FlexGrid.4.5.2 アセンブリ > C1.Win.C1FlexGrid 名前空間 > C1FlexGridBase クラス > PrintGrid メソッド : PrintGrid(String,PrintGridFlags) メソッド
The document name, which appears on the progress dialogs and on the print job windows.
Flags that select printing options.
Prints the grid, optionally showing a page setup or print preview dialog.
シンタックス
'宣言
 
Public Overloads Function PrintGrid( _
   ByVal docName As System.String, _
   ByVal flags As PrintGridFlags _
) As System.Boolean
public System.bool PrintGrid( 
   System.string docName,
   PrintGridFlags flags
)

パラメータ

docName
The document name, which appears on the progress dialogs and on the print job windows.
flags
Flags that select printing options.

戻り値の型

True if the grid was printed, false if the user canceled the operation before printing started.
解説

Use the PrintParameters property to set up options such as page orientation and margins, header and footer fonts, etc.

The method returns true if the user started the printing process. If the user clicks cancel while the grid is printing, the method returns true (some pages may be printed anyway depending on the printer settings). To detect canceled jobs, handle the EndPrint event and check the value of the e.Cancel parameter.

参照

C1FlexGridBase クラス
C1FlexGridBase メンバ
オーバーロード一覧