Indentation setting+hanging +powerpoint RRS feed

  • Question

  • Hi all,

    I am working with a add in for Microsoft PowerPoint 2013.I just came across a requirement to set the indentation of a line by code.Is there any way to measure and set the indentation like hanging' absolute value?

    for example in PPT 2013 I can right click on text->Paragraph->indentation and see the value of hanging eg;0.60.Is it possible to find and apply it via code??

    Any help would be appreciated.

    Thanks & Regards

    Wednesday, April 8, 2015 10:17 AM


  • Hi GAM10,

    We could specify ParagraphFormat.LeftIndent value to set the indentation.

    For example:

    Dim slide As PowerPoint.slide
    Set slide = ActivePresentation.Slides(3)
    slide.Shapes(1).TextFrame2.TextRange.ParagraphFormat.LeftIndent = 0.9 * 72



    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, April 9, 2015 8:03 AM