Extract default font size of Title/SubTitle in Powerpoint document
-
Sunday, February 05, 2012 10:49 AM
Hi,
Short
------
How can I extract Font size of the Title/SubTitle text?Details
--------
I need to extract font sizes of each text at PowerPoint document using OpenXml SDk. And I can extract font details using RunProperties for normal texts, But when if the text is a Title/SubTitle then the font size is not avaialble at RunProperties. So how can I extaract font size details for such texts (ie. Title/SubTitle).Thanks in advance
- Vins
All Replies
-
Tuesday, February 07, 2012 5:52 AMModerator
Hi Vins,
Thanks for posting in the MSDN Forum.
It’s based on my experience that the font
size of “Title” and “Sub Title” is a default value of
presentation. “Title” is 44, and “Sub Title” is 32.Have a good day,
Tom
Tom Xu [MSFT]
MSDN Community Support | Feedback to us
-
Tuesday, February 07, 2012 7:08 PM
Hi Tom,
Thanks for your reply, but I feel that it's not the way of handling the font size at always. for an example, I have a document which Title's font details as follows,
Font Name : Tw Cen MT (Headings) Size : 36
So, I need to to find the exact font size depends on each file by using OpenXML SDK.
Thanks,
Vins
- Vins
-
Friday, February 10, 2012 7:45 AMModerator
Hi Vins,
I searched all content of the pptx. I can't find the default font which declare in document. Would you share your pptx file to me for further research. On my side I only get 44 and 32 for default font size of title and sub title.
Have a good day,
Tom
Tom Xu [MSFT]
MSDN Community Support | Feedback to us

