FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > PrintAbortEventArgs クラス : Abort プロパティ |
'Declaration Public Property Abort As Boolean
'使用法 Dim instance As PrintAbortEventArgs Dim value As Boolean instance.Abort = value value = instance.Abort
public bool Abort {get; set;}
次のサンプルコードは、Abortプロパティを設定します。
private void fpSpread1_PrintAbort(object sender, FarPoint.Win.Spread.PrintAbortEventArgs e) { e.Abort = true; } private void button1_Click(object sender, System.EventArgs e) { fpSpread1.PrintSheet(0); }
Private Sub FpSpread1_PrintAbort(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.PrintAbortEventArgs) Handles FpSpread1.PrintAbort e.Abort = True End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click FpSpread1.PrintSheet(0) End Sub