Set Horizontal Alignment not working(Urgent)

The PDF Creator enables you to create secure PDF documents and to view, print and process existing PDF documents.
If you have any questions about the installation and usage of the PDF Creator please post them here.
Post Reply
LOOI YS
Posts: 4
Joined: Mon Aug 11 2003

Set Horizontal Alignment not working(Urgent)

Post by LOOI YS »

Hello,

I try to set the text object Horizontal Alignment property to Right Alignment (Default Left Alignment) in C#.
But it seem don't work.
The property set back to Default
I'm using PDF Creator Pro v1.5 Beta

Code: Select all

....some stuff goes here...

CreatePdfTemplate.CreateObject(ACPDFCREACTIVEX.ObjectTypeConstants.acObjectTypeText, "acNo1"); 
CreatePdfTemplate.set_ObjectAttribute("acNo1", "Left", 850.39);
CreatePdfTemplate.set_ObjectAttribute(acNo", "Top", "5000")
CreatePdfTemplate.set_ObjectAttribute("acNo1", "Right", "1303");
CreatePdfTemplate.set_ObjectAttribute("acNo1", "Bottom", "5700")
CreatePdfTemplate.set_ObjectAttribute("acNo1", "Text", "Test");
CreatePdfTemplate.set_ObjectAttribute("acNo1", "HorzAlign", "Right");
CreatePdfTemplate.set_ObjectAttribute("acNo1", "TextFont", "Times New Roman,11.00,400,0,0,0");

...some stuff goes here ...

wat's the problem?

Many Thx and appreciate,


Cheers,
LOOI
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

Please send this code to support@amyuni.com we will run it and see what is going wrong.

Thanks.
Post Reply