Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / August 2004

Tip: Looking for answers? Try searching our database.

Capturing default Font

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Reuven - 10 Aug 2004 22:24 GMT
Hi,
Where in the Infopath Object Model can I find/access the
default font, either for the application or a view? When
rich text is saved, the font is applied only if it's not
the default. So to be able to reuse the text (in VS
Office toolkit) as it appears in the control, I'd like to
add the default font.

Any ideas where this can be found?

Many thanks,

Reuven
Brian Teutsch [MSFT] - 11 Aug 2004 01:05 GMT
Sorry to say that there isn't a specific way to get that information, The
easiest way is to hard code the font that you'd like as the default. If you
want a true programmatic way, you can open the XSL that is part of the XSN
file, and parse the XSL to find the rich text field and the styles that
affect it.

Brian

> Hi,
> Where in the Infopath Object Model can I find/access the
[quoted text clipped - 9 lines]
>
> Reuven
Reuven T - 11 Aug 2004 16:36 GMT
Thanks Brian - I'll assume it's the Verdana that's the
app default for now.
Reuven

>-----Original Message-----
>Sorry to say that there isn't a specific way to get that information, The
[quoted text clipped - 20 lines]
>
>.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.