dragonfly
dragonfly

Reputation: 17783

Control Indentation Hanging in PowerPoint 2010 VSTO

I have a paragraph and after executing :

paragraph.ParagraphFormat.FirstLineIndent = 18;
paragraph.ParagraphFormat.LeftIndent = 18;

when I check Paragraph dialog box, I get:

Instead of First line I want to have Special set to Hanging. Is it possible to control it with code?

Upvotes: 2

Views: 1453

Answers (1)

Siddharth Rout
Siddharth Rout

Reputation: 149335

Instead of First line I want to have Special set to Hanging. Is it possible to control it with code?

Yes it is possible :)

Just remember the thumb rule

For FirstLine use a positive value and

For Hanging use a negative value

Change your code to

paragraph.ParagraphFormat.FirstLineIndent = -18;

Upvotes: 3

Related Questions