Link to home
Start Free TrialLog in
Avatar of mathematics
mathematics

asked on

olecontainer

The code:
  Excel.Charts.Add;
  Excel.ActiveChart.ChartType:=xlColumnClustered;
  Excel.ActiveChart.SetSourceData(Range,4);
  Excel.ActiveChart.ChartArea.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.


ASKER CERTIFIED SOLUTION
Avatar of rwilson032697
rwilson032697

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mathematics
mathematics

ASKER

Thanks!