Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / PrintNotes Enumeration
Example Example

In This Topic
    PrintNotes Enumeration
    In This Topic
    Specifies how cell notes are printed.
    Public Enum PrintNotes 
       Inherits System.Enum
    Dim instance As PrintNotes
    public enum PrintNotes : System.Enum 
    AsDisplayed [2] Prints the cell notes as they are displayed on the sheet
    AtEnd [1] Prints the cell notes in summary form after the last sheet is printed
    None [0] Does not print the cell notes
    This example uses the PrintNotes enumeration.
    private void Form1_Load(object sender, System.EventArgs e)
         fpSpread1.Sheets[0].RowCount = 20;
         fpSpread1.Sheets[0].ColumnCount = 5;
         fpSpread1.TextTipPolicy = FarPoint.Win.Spread.TextTipPolicy.Fixed;
         fpSpread1.Sheets[0].Cells[0, 0].Note = "test";
    private void button1_Click(object sender, System.EventArgs e)
         FarPoint.Win.Spread.PrintInfo pi = new FarPoint.Win.Spread.PrintInfo(); 
         pi.PrintNotes =FarPoint.Win.Spread.PrintNotes.AtEnd;
         fpSpread1.Sheets[0].PrintInfo = pi;
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            FpSpread1.Sheets(0).RowCount = 20
            FpSpread1.Sheets(0).ColumnCount = 5
            FpSpread1.TextTipPolicy = FarPoint.Win.Spread.TextTipPolicy.Fixed
            FpSpread1.Sheets(0).Cells(0, 0).Note = "test"
    End Sub
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            Dim pi As New FarPoint.Win.Spread.PrintInfo()
            pi.PrintNotes = FarPoint.Win.Spread.PrintNotes.AtEnd
            FpSpread1.Sheets(0).PrintInfo = pi
    End Sub
    Inheritance Hierarchy


    See Also