@alexey.noskov I am trying to set the tab stop 0.65 for Heading 3 but it’s not working and the below code I used its. Kindly help me asap.
Please find the below input and expected output word document.
Expected_output200.docx (19.4 KB)
Input_headding3.docx (22.6 KB)
public static void Test(Document doc)
{
var value = 0.65;
Style heading3 = doc.Styles[StyleIdentifier.Heading3];
if (heading3.ParagraphFormat.TabStops.ToString() != ConvertUtil.InchToPoint(Convert.ToDouble(value)).ToString())
{
heading3.ParagraphFormat.TabStops.Add(ConvertUtil.InchToPoint(Convert.ToDouble(value)), TabAlignment.Left, TabLeader.None);
}
}