2 writes to _chartImage
System.Windows.Forms.DataVisualization (2)
WinForm\Utilities\Printing.cs (2)
137
_chartImage
= (ChartImage)_serviceContainer.GetService(typeof(ChartImage));
240
_chartImage
= (ChartImage)_serviceContainer.GetService(typeof(ChartImage));
15 references to _chartImage
System.Windows.Forms.DataVisualization (15)
WinForm\Utilities\Printing.cs (15)
135
if(
_chartImage
== null && _serviceContainer != null)
141
if(
_chartImage
!= null)
144
int oldWidth =
_chartImage
.Width;
145
int oldHeight =
_chartImage
.Height;
146
_chartImage
.Width = position.Width;
147
_chartImage
.Height = position.Height;
156
_chartImage
.isPrinting = true;
159
_chartImage
.Paint(graphics, false);
162
_chartImage
.isPrinting = false;
168
_chartImage
.Width = oldWidth;
169
_chartImage
.Height = oldHeight;
238
if(
_chartImage
== null && _serviceContainer != null)
243
if(
_chartImage
!= null)
261
Rectangle chartPosition = new Rectangle(marginPixel.X, marginPixel.Y,
_chartImage
.Width,
_chartImage
.Height);