XY Chart NET 3 Control Reference > Events > PageSetupButtonSelected Event |
[Visual Basic] Event PageSetupButtonSelected() |
[C#] PageSetupButtonSelected() |
[C++] PageSetupButtonSelected() |
' 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