Marco Are you sure that the Left, Right etc. property values are cms? I must admit I have not checked the Delphi source, but if you look at MSDN the values are points (72 per inch), in which case 1.5 would be an almost imperceptible margin.
See http://msdn2.microsoft.com/en-us/library/aa173425(office.11).aspx Regards Steve -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Behalf Of anomander1 Sent: 03 January 2008 08:37 To: [email protected] Subject: [delphi-en] Re: Accessing Word from Delphi [Code and what Word does wrong, or maybe me) oMargin.Left := -1; oMargin.Right := -1; oMargin.Top := -1; oMargin.Bottom := 1.5; oMargin.WordApplication := WordApplication; *************************************************************************** This e-mail and any files transmitted with it are confidential. If you are not the intended recipient, any reading, printing, storage, disclosure, copying or any other action taken in respect of this e-mail is prohibited and may be unlawful. If you are not the intended recipient, please notify the sender immediately by using the reply function and then permanently delete what you have received. Content of emails received by this Trust will be subject to disclosure under the Freedom of Information Act 2000, subject to the specified exemptions, including the Data Protection Act 1998 and Caldicott Guardian principles. This footnote also confirms that, unless otherwise stated, this email message has been swept by Sophos Anti-virus for the presence of computer viruses. ***************************************************************************

