mathematics
asked on
olecontainer
The code:
Excel.Charts.Add;
Excel.ActiveChart.ChartTyp e:=xlColum nClustered ;
Excel.ActiveChart.SetSourc eData(Rang e,4);
Excel.ActiveChart.ChartAre a.Copy;
OleContainer.Paste;
After paste,some part of the graph chart is outside the Container.
Although I zoom the olecontainer in designed time,
the chart is outside the olecontainer.
In run time,I open the chart and close it,
the chart resize and in the olecontainer.
Do you know how to paste it 'into' and 'match' the
olecontainer? Tell me how to do. Thanks.
Excel.Charts.Add;
Excel.ActiveChart.ChartTyp
Excel.ActiveChart.SetSourc
Excel.ActiveChart.ChartAre
OleContainer.Paste;
After paste,some part of the graph chart is outside the Container.
Although I zoom the olecontainer in designed time,
the chart is outside the olecontainer.
In run time,I open the chart and close it,
the chart resize and in the olecontainer.
Do you know how to paste it 'into' and 'match' the
olecontainer? Tell me how to do. Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER