none
Powerpoint "TextRange.IndentLevel" issue RRS feed

  • Question

  • Hello!

    I implement add-in to PowerPoint 2010 and we use Visual Studio 2010 and VSTO 4.0. Currently I work with multi-level bulleted and numbered lists and I faced with the following problem: in PowerPoint 2003 maximum depth level (indent level) in lists was 5, but in PowerPoint 2007 /  2010 it was increased to 9. I use property "TextRange.IndentLevel" (get / set) which informs/controls the level of depth in the list. It returns value from "1 to 9" but I can set it value only in range from "1 to 5" - not to 9 but only to 5.  If I try to assign value from 6 to 9 - I got COM exception.  So I even can't assign to this property it's own value if it more  than 5..

    Please advise how I can assign to this property (TextRange.IndentLevel) values from 6 to 9, perhapse with the help of some method. Or possibly exists some workaround for this problem to simulate 6 - 9 indent level.

    Thank you.

     
    • Edited by _Case Thursday, June 23, 2011 10:48 PM cosmetic fix
    Thursday, June 23, 2011 10:47 PM

Answers

All replies