سؤال

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