i try to align a line of text with vertical center on coreldraw x5 to a specific point, example point x = 0, point y = 2, this is my code :

Dim a As New CorelDRAW.Application
a.Visible = True

Dim b As CorelDRAW.Document = a.OpenDocument("document path to open")
b = a.ActiveDocument

a.ActivePage.TextFind("ExampleText", True).AlignToPoint(CorelDRAW.cdrAlignType.cdrAlignVCenter, 0, 2)

but it's not show in the right point, "ExampleText" will align y coordinate to : 5.08 (ignore the x coordinate, because this is vertical)

PS : i use centimeter for measurement unit

thanks in advance

hi.. can i ask a question? i have a problem in search button we can't run our projrct because of search. can you please give an idea to make it right.. thanks :)

why don't you create your own thread? you answer my question with question :(

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.