P
purvi
Hi,
I've recently experienced a problem with the default
autoshape.
In Powerpoint, I created a textbox with the text indented
and then made that as a default autoshape. Now I create
another textbox which obviously has the same properties as
my first textbox. The problem is that the indentation in
the second textbox cannot be changed. It does not show up
as an indentation in the Rulers either. I tried to remove
the indentation through code as well. I set all the
margins to 0. The only solution was to set an existing
textbox without any indentation or tab setting as default
autoshape and then redraw the textbox. If you use the
following code:
ActivePresentation.DefaultShape.TextFrame.MarginLeft
The output of this statement is the actual left margin of
the autoshape. But if you find the left margin similarly
for the second textbox, it says 0.
Is there any way to remove this indentation?
Thanks,
Purvi
I've recently experienced a problem with the default
autoshape.
In Powerpoint, I created a textbox with the text indented
and then made that as a default autoshape. Now I create
another textbox which obviously has the same properties as
my first textbox. The problem is that the indentation in
the second textbox cannot be changed. It does not show up
as an indentation in the Rulers either. I tried to remove
the indentation through code as well. I set all the
margins to 0. The only solution was to set an existing
textbox without any indentation or tab setting as default
autoshape and then redraw the textbox. If you use the
following code:
ActivePresentation.DefaultShape.TextFrame.MarginLeft
The output of this statement is the actual left margin of
the autoshape. But if you find the left margin similarly
for the second textbox, it says 0.
Is there any way to remove this indentation?
Thanks,
Purvi