Free Support Forum - aspose.com

Hide Content control

Hello,

Does anyone knows how can hide a content control? I have a document with multiple tags and I want to keep the tag, but hide the content control(in word -> Developer -> Show as set to none). How can hide the content control in .Net with Aspose.Words, Version=17.4.0.0 ?

Thank you!

@Laurandreea,

Please share sample input and output documents with us. This will help us to understand what exactly you are looking for. We will examine the sample file and update you about our findings.

HI @ikram.haq ,

We have this class: Aspose.Words.Markup.StructuredDocumentTag. We can not find this property: Appearance
We want to set this property like in this link: https://msdn.microsoft.com/en-us/vba/word-vba/articles/contentcontrol-appearance-property-word

With this property we think that we can hide the content control.

Thank you!

@Laurandreea,

Thanks for your inquiry.

Unfortunately, Aspose.Words does not support the requested feature at the moment. However, we have logged this feature request as WORDSNET-11643 in our issue tracking system. You will be notified via this forum thread once this feature is available. We apologize for your inconvenience.

Could you please share your expected output Word document here for our reference? We will then provide you more information on this.