We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Set Style Proerties

I have hundreds of documents that need to have a property set on the style. I am not finding any good examples of what I need to do to set this property. Is there a way to programatically set the “Don’t add space between paragraphs of the same style” checkbox seen in the attached screenshot?

Hi Joe,

Thanks for your inquiry. Sure, please use ParagraphFormat.NoSpaceBetweenParagraphsOfSameStyle property to ignore the spacing between the Paragraphs of the same style. This setting only takes affect when applied to a paragraph style. If applied to a paragraph directly, it has no effect. I hope, this helps.

Best regards,