문제

I am creating charts in PowerPoint by making an Add-in. I am encountering a quite frustrating problem. Whenever you select a chart in PowerPoint a rectangular box appears around the chart and I want to remove this box. But I don't know what API to call or object to use to remove or hide that box

The rectangular box around the chart

I have tried using the Chart.ChartArea property but it doesn't help. Need help with this one. Thanks.

도움이 되었습니까?

해결책

I don't think you can remove this box. It is a part of the Office UI, telling you that the chart is currently selected. As such it is a part of the core Office functionality which you cannot change.

I can't imagine how you could position or resize the chart without knowing where it's borders are.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top