XY Chart NET 3 Control Reference
PageSetupButtonSelected Event
This event is generated whenever the user selects the Page Setup toolbar button (see Toolbar).   Use this event to perform operations specific to whenever the Page Setup toolbar button is selected.
Syntax
[Visual Basic]
Event PageSetupButtonSelected()
[C#]
PageSetupButtonSelected()
[C++]
PageSetupButtonSelected()
       
Example
' XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form.

Private Sub XYChartNETCtl1_PageSetupButtonSelected() Handles XYChartNETCtl1.PageSetupButtonSelected
   'Update the chart control's printer settings
   With XYChartNETCtl1.PrintSettings
      .Color = False
      .Orientation = poLandscape
      .NumCopies = 1
      .DocumentName = "XYChartNET 1"
      .LeftMargin = 50
      .TopMargin = 100
      .ShowDialog = False
   End With
End Sub
                       
                       
See Also

 

 


© 2003 - 2013 ControlEng Corporation. All rights reserved.