Setting equation alignment for entire document

Hello,

Is it possible to set the following value programmatically so that it is applied to the whole document, and subsequently all of the equations included in the document? 

The option is found under the Equation Ribbon, the Conversions expand popup called Equation Options, Display Math Heading and the Justification option. The default value is "Centered As A Group" but I would like to change the value to "Left". 

The form is shown in the attached photo.


Attachment: EquationOptions_becf713b.zip

1 Reply 1 reply marked as answer

AA Akash Arul Syncfusion Team January 31, 2024 10:58 AM UTC

Hi Natalie,

Yes, it is possible to set the alignment for the equation in the Word document programmatically. To achieve your requirement, we suggest you to set the required alignment in Justification API.

Refer to the below GitHub sample to achieve your requirement.
https://github.com/SyncfusionExamples/DocIO-Examples/tree/main/Mathematical-Equation/Apply-math-justification

Regards,
Akash.


Marked as answer
Loader.
Up arrow icon