PrintSettings

 

Use this property to return/set values that determines the chart's printing characteristics.

PrintSettings uses the Print Class set of properties for its characteristics.  The print margins units are in inches.

 

Examples

With XYChartCtrl
    .PrintSettings.LeftMargin = 1            ' 1 inch left margin
    .PrintSettings.TopMargin = 1             ' 1 inch top margin
    .PrintSettings.RightMargin = 1           ' 1 inch right margin
    .PrintSettings.BottomMargin = 1          ' 1 inch bottom margin
    .PrintSettings.Orientation = poLandscape ' Landscape orientation
    .PrintSettings.ShowDialog = True         ' Print dialog will be displayed when the PrintChart method is called
    .PrintChart
End With 

See Also

Properties