OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Thread Tools Search this Thread Display Modes
Old 29-12-2004, 15:42
Posts: n/a
Default CreateArtisticText question......

I have a form where the user is entering the center position for X and Y

For eg

User enters X=2 and Y=0.5
I am using the following statement to dipslay the Text
If TextBox1.Text <> "" Then 
' this the artistictext drawn
      Set sLabel = ActiveLayer.CreateArtisticText(drefx, drefy, TextBox1.Text, Font:=cboFontFace.Text, Size:=dFontSize, Alignment:=cdrCenterAlignment)
      sLabel.Name = "fix" & fixfieldcnt
      fixfieldcnt = fixfieldcnt + 1
      sLabel.Fill.UniformColor = c
    End If

where drefx and drefy are the X and Y center positons.
when I run this in debug mode I see the value of rotation X= 1.998
and Y = 0.6701 .
not exact 2 and 0.5 what the user has entered.
Is createartistictext doing that.? dont know
is there a work around for this problem.
this is kind of imp because when the user tries to change the font face or font size with bigger values it does not get drawn at proper position .

Please help....

Reply With Quote
Old 01-01-2005, 14:01
Posts: n/a

please can anyone give me some idea on how to proceed for this
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Icon Question dungbtl CorelDRAW/Corel DESIGNER VBA 0 17-03-2005 17:37
question sejal01 CorelDRAW/Corel DESIGNER VBA 1 22-12-2004 21:27
Late-Binding Question RobC CorelDRAW/Corel DESIGNER VBA 3 27-02-2004 06:32
Node selection question Peter Clifton CorelDRAW/Corel DESIGNER VBA 1 02-12-2003 12:00
CorelDRAW.Printers.Default.ShowDialog Question VyperOne CorelDRAW/Corel DESIGNER VBA 1 10-07-2003 18:45

All times are GMT -5. The time now is 11:38.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com