Hi,
Trying to write the X, Y Coords. for the textareaobject always results in the following
Code:
set objTextArea=objPage.AddTextArea("Some Text",340,200,250,12)
response.write "x:" &objTextArea.X &"<br>"
response.write "y:"&objTextArea.Y &"<br>"
response.end
When executing this on a ASP page i get the following result:
x:200
y:200
Could someone give me an explanation on this?
Wouldn't the correct values be
x:340
y:200
????
Please help, cause this really messes up my layout..
Reg.
Kjell Brandes
Textarea Coordinates??!
Re: Textarea Coordinates??!
Support · Apr 23, 2010Hello Kjell,
We are able to run the same code without any problem. We are getting correct values only. Can you please tell what exact version of our product are you using? Please make sure that you are using the latest build of that version. You can get the latest build from our CustomerArea
by logging in using your serial number.
Thanks,
ceTe Software Support Team.
Re: Textarea Coordinates??!
Forum member · Apr 23, 2010Ok, strange.
I'm using DynamicPDF™ Generator v2.6.0c for COM/ActiveX.
I' am debugging a large codebase so I'm not sure of alla code in the codebase, but is there a way to set this behaviour on your component?
I can't find anything about it in your documentation which I installed with the software.
Thanks in advance..
reg
Kjell Brandes
Re: Textarea Coordinates??!
Forum member · Apr 23, 2010Just to clarify, this is in a doscument called testing.asp
<%
set objDoc = server.createobject("DPDF_Gen.Document")
objDoc.Creator = "Semcon Competence Manager PDF-Generator"
Set objPage = objDoc.AddPage()
set objTextArea=objPage.AddTextArea("Some Text",34,200,250,12)
response.write "x:" &objTextArea.X &"<br>"
response.write "y:" &objTextArea.Y &"<br>"
response.end
objDoc.DrawToASP
%>
This code renders:
x:200
y:200
Removing response.end places the "Some Text" according to the x-y coords. So theres no problem, the problem arises when I want to use the coords to place the following object, I'm sure you understand why..
Thanks for the quick response!
reg.
Kjell Brandes
Re: Textarea Coordinates??!
Support · Apr 23, 2010Hello Kjell,
We are able to see this behavior using the exact code you have given and we have forwarded this issue over to the developers to look into it further. We will post a message as soon as we have some information on this.
Thanks,
ceTe Software Support Team.
Re: Textarea Coordinates??!
Forum member · Apr 23, 2010Thanks a lot!
Reg.
Kjell Brandes
Re: Textarea Coordinates??!
Forum member · May 11, 2010Is there any progress on this case?
This bug really sets me back in my plan.
reg
Kjell Brandes
Re: Textarea Coordinates??!
Support · May 11, 2010Hello Kjell Brandes,
We have this issue fixed and can you please send over an email to our [^a|mailto:support@cete.com|Support Team^] so that they can give you the latest build dll with fix?
Thanks,
ceTe Software Support Team.