Excel,PowerPoint和C# [英] Excel, PowerPoint and C#

查看:100
本文介绍了Excel,PowerPoint和C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将图表从Excel复制到PowerPoint之后,我想重新调整图表对象的大小.

shapeRange.Height = 250.5F;
shapeRange.Width = 100;

但是上述方法不起作用,因为默认情况下选择了锁定宽高比".
我不知道如何禁用锁定宽高比",以便可以同时更改高度"和宽度".

谢谢.

After I copy the chart from Excel to PowerPoint, I want to re-size the chart object.

shapeRange.Height = 250.5F;
shapeRange.Width = 100;

But the above is not working because the "Lock aspect ratio" is selected by default.
I don''t know how to disable the "Lock aspect ratio" so that I can change the Height and Width at the same time.

Thank you.

推荐答案

有人可以帮助我吗?

我真的被卡住了.
Can anybody help me?

I am really stucked.


这篇关于Excel,PowerPoint和C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆