Spire.Presentation is a professional PowerPoint® compatible library that enables developers to create, read, write, modify, convert and Print PowerPoint documents. Get free and professional technical support for Spire.Presentation for .NET, Java, Android, C++, Python.

Sat Sep 07, 2019 8:54 pm

Is it possible to adjust vertical line spacing of text boxes in Spire Presentation? This can be done manually in PowerPoint. The effect is to increase or decrease the vertical line spacing of the text.

iceblue23
 
Posts: 2
Joined: Sat Sep 07, 2019 8:47 pm

Mon Sep 09, 2019 3:13 am

Hi,

Thanks for your inquiry and sorry to reply late for weekend.
Please try the code below to set the line spacing of text in PowerPoint file.

Code: Select all
            //set the linespacing
            shape.TextFrame.Paragraphs[0].LineSpacing = 150;


Best wishes,
Amber
E-iceblue support team
User avatar

Amber.Gu
 
Posts: 525
Joined: Tue Jun 04, 2019 3:16 am

Tue Oct 29, 2019 10:12 am

Hi,

Greetings from E-iceblue.
Have you tried the code I offered you last time? Does it solve your issue?
Could you please give us some feedback at your convenience?

Best wishes,
Amber
E-iceblue support team
User avatar

Amber.Gu
 
Posts: 525
Joined: Tue Jun 04, 2019 3:16 am

Return to Spire.Presentation