Setting Margins in Document From Rich Text Control

N

Neil

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!
 
L

Larry Linson

Neil said:
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?

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
 
N

Neil

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top