Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Setting Margins in Document From Rich Text Control

5 views
Skip to first unread message

Neil

unread,
Oct 23, 2007, 1:23:40 PM10/23/07
to
I'm using a rich text control (the FMS version), and am using the SaveFile
method to create an RTF document from the control. I need to be able to set
the right and left margins of the created RTF document.

The FMS control exposes the Microsoft TOM Interface by providing the
TextDocument property of the control. However, it's not clear how right and
left margins in the document created using SaveFile could be set. Any ideas?

Thanks!

Larry Linson

unread,
Oct 23, 2007, 3:29:07 PM10/23/07
to

"Neil" <nos...@nospam.net> wrote

What did FMS say, when you asked them? They are, of course, the first and
primary source of support for their products. Asking them directly would be
my first and primary suggestion.

Larry Linson
Microsoft Access MVP


Neil

unread,
Oct 23, 2007, 7:22:35 PM10/23/07
to
The Microsoft TOM Interface is a Microsoft entity. FMS provides
functionality in their control for most rich text functionality. Beyond
that, they provide access to the TOM Interface to access additional items in
the Microsoft Rich Text Object Model that they have not provided for in
their control.

This would be akin to Microsoft providing the ability to call API functions
from within Microsoft Access, but not providing support for the API
functions, themselves (except that, in that case, Microsoft also develops
Windows, so they would be the developers of the API functions as well).

Thus, FMS provides support for their control, and provide the TextDocument
property so as to be able to directly access the TOM Interface. Beyond that,
they don't provide support for the TOM functions that they have not
explicitly placed in their control.

Neil


"Larry Linson" <bou...@localhost.not> wrote in message
news:7YrTi.3755$uE4.2688@trnddc07...

0 new messages