Solved

olecontainer

Posted on 1999-01-18
2
226 Views
Last Modified: 2010-04-06
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.


0
Comment
Question by:mathematics
2 Comments
 
LVL 12

Accepted Solution

by:
rwilson032697 earned 200 total points
ID: 1362326
Set the SizeMode to smScale or smStretch. Or if you already do this try it again after doing the paste.

Cheers,

Raymond.
0
 

Author Comment

by:mathematics
ID: 1362327
Thanks!
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question