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

Free Support Forum - aspose.com

List indent formatting

Im trying to format a list so that the first few levels are “less indented” than the lower levels, as I only have a few high levels items and many lower level ones.

When I use:

ListLevel lev1 = mindMapList.getListLevels().get(1);

the tab amount stays as it is, but if I use setTabPosition with a value much higher (like 150) is appears to indent much further to the right as you would expect.

Is there some sort of minimum indent that the list level can have?

Thanks for your inquiry. I think that you can try using the following code.

// Get list level
ListLevel lev1 = mindMapList.getListLevels().get(1);
// Set tab position

Hope this helps.
Best regards.