private Image pGetChartImage(int indexRows, int indexField, int indexRow, cReportControl ctrl)
{ // TODO: Use of ByRef founded Private Function pGetChartImage(ByVal IndexRows As Long, ByVal IndexField As Long, ByVal IndexRow As Long, ByRef ctrl As cReportControl) As Long
if (ctrl.getChart().getChartCreated())
{
return ctrl.getChart().getImage();
}
else
{
if (ctrl.getChart().make(m_collRows[indexRows].Rows, ctrl.getLabel().getAspect().getFormat(), false, ""))
{
return ctrl.getChart().getImage();
}
else
{
return null;
}
}
}