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

C1.Win.C1FlexGrid.4.5.2 アセンブリ > C1.Win.C1FlexGrid 名前空間 > C1FlexGridBase クラス > PrintGrid メソッド : PrintGrid(String,PrintGridFlags,String,String) メソッド
The document name, which appears on the progress dialogs and on the print job windows.
Flags that select printing options.
String that appears on the top of every page.
String that appears on the bottom of every page.
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, _
   ByVal header As System.String, _
   ByVal footer As System.String _
) As System.Boolean
public System.bool PrintGrid( 
   System.string docName,
   PrintGridFlags flags,
   System.string header,
   System.string footer
)

パラメータ

docName
The document name, which appears on the progress dialogs and on the print job windows.
flags
Flags that select printing options.
header
String that appears on the top of every page.
footer
String that appears on the bottom of every page.

戻り値の型

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

The header and footer strings may contain up to three tab-delimited sections, which are aligned to the left, center, and right of the page. The strings may also contain placeholders that are replaced with the current page number and total number of pages ("{0}" and "{1}").

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

参照

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