spmcmorrow
asked on
MsoTextOrientation not declared
I am creating a powerpoint slide from vb .net. I have it working where it can add a picture, but I wanted to add a text box. When I use the following line of code, it says that Name MsoTextOrientation is not declared. What am I missing?
oSlide.Shapes.AddTextbox(M soTextOrie ntation.ms oTextOrien tationHori zontal, 2, 2, 2, 2)
Here are my imports at the top:
Imports System.Data
Imports Office = Microsoft.Office.Core
Imports PowerPoint = Microsoft.Office.Interop.P owerPoint
Imports System.Drawing
Imports System.Drawing.Printing
Imports System.ComponentModel
Imports System.ServiceProcess
oSlide.Shapes.AddTextbox(M
Here are my imports at the top:
Imports System.Data
Imports Office = Microsoft.Office.Core
Imports PowerPoint = Microsoft.Office.Interop.P
Imports System.Drawing
Imports System.Drawing.Printing
Imports System.ComponentModel
Imports System.ServiceProcess
oSlide.Shapes.AddTextbox(O ffice.MsoT extOrienta tion.msoTe xtOrientat ionHorizon tal, 2, 2, 2, 2)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thank you