C# Word (DocIO) WChart Caption

Hello,

There does not seem to be any way in C# to add a document caption to a chart created in DocIO.

The documentation seems refers to adding captions for pictures in a word doc like in this example:

How to add image captions without numbers in a Word document

Thanks


3 Replies

DS Dharanya Sakthivel Syncfusion Team December 4, 2024 07:36 AM UTC

Hi Yemoku,

From the given details, we have found that your requirement is to add a caption to the chart in the Word document.

To achieve your requirement, we have prepared the sample application to add a caption to the chart in the Word document. It can be downloaded from the below attachment.

Regards,
Dharanya.



Attachment: Insertcaptiontochart_5d00903a.zip


YE Yemoku replied to Dharanya Sakthivel December 10, 2024 07:58 AM UTC

A bit "involved", bu the code works well.

Much appreciated.

Many thanks,

Yemi



CA Chrispine Agunja Imbo Syncfusion Team December 11, 2024 07:51 AM UTC

Hi Yemoku,

We are glad to hear that it works for you. Please feel free to contact us if you need further assistance.

Regards,

Chris


Loader.
Up arrow icon