PowerTools SPREAD for Windows Forms 10.0J
PdfWriteMode プロパティ


シートをPDFとして印刷する場合にその印刷が他のシートに対してどのように処理されるかを取得または設定します。
構文
'Declaration
 
Public Property PdfWriteMode As PdfWriteMode
'使用法
 
Dim instance As PrintInfo
Dim value As PdfWriteMode
 
instance.PdfWriteMode = value
 
value = instance.PdfWriteMode
public PdfWriteMode PdfWriteMode {get; set;}

プロパティ値

追加のPDF印刷の処理方法を指定するPdfWriteMode設定
次のサンプルコードは、PdfWriteModeプロパティを設定します。
 // Define the printer settings
FarPoint.Win.Spread.PrintInfo printset = new FarPoint.Win.Spread.PrintInfo();
printset.Header = "Print Job For /nFPT Inc.";
printset.Footer = "This is Page /p/nof /pc Pages";
printset.PdfWriteTo = FarPoint.Win.Spread.PdfWriteTo.File;
printset.PdfWriteMode = FarPoint.Win.Spread.PdfWriteMode.Append;
// Assign the printer settings to the sheet and print to PDF
printset.PrintToPdf = true;
printset.PdfFileName = "C:\\results.pdf";
fpSpread1.Sheets[0].PrintInfo = printset;
fpSpread1.PrintSheet(0);
' Define the printer settings
Dim printset As New FarPoint.Win.Spread.PrintInfo()
printset.Header = "Print Job For /nFPT Inc."
printset.Footer = "This is Page /p/nof /pc Pages"
printset.PdfWriteTo = FarPoint.Win.Spread.PdfWriteTo.File
printset.PdfWriteMode = FarPoint.Win.Spread.PdfWriteMode.Append
' Assign the printer settings to the sheet and print to PDF
printset.PrintToPdf = True
printset.PdfFileName = "C:\results.pdf"
FpSpread1.Sheets(0).PrintInfo = printset
FpSpread1.PrintSheet(0)
参照

PrintInfo クラス
PrintInfo メンバ

 

 


© 2004-2017, GrapeCity inc. All rights reserved.