OberonPlace.com Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 19-11-2007, 21:08
masterchiefph
Guest
 
Posts: n/a
Default Text length?

is there a way to get the length of a pixelised text?
Reply With Quote
  #2  
Old 19-11-2007, 22:15
wOxxOm's Avatar
wOxxOm wOxxOm is offline
Senior Member
 
Join Date: Mar 2005
Posts: 836
Default

in pixels, yes :-)
Reply With Quote
  #3  
Old 19-11-2007, 22:41
masterchiefph
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by wOxxOm View Post
in pixels, yes :-)
wOxxOm, need your help.. cant find hint on this forum

Thanks again..
Reply With Quote
  #4  
Old 19-11-2007, 22:46
wOxxOm's Avatar
wOxxOm wOxxOm is offline
Senior Member
 
Join Date: Mar 2005
Posts: 836
Default

I don't think it's possible, if I understood your question correctly, otherwise provide a picture/sample cdr file
Reply With Quote
  #5  
Old 19-11-2007, 23:49
masterchiefph
Guest
 
Posts: n/a
Default

its only an artistic text with outline..
Reply With Quote
  #6  
Old 20-11-2007, 00:13
wOxxOm's Avatar
wOxxOm wOxxOm is offline
Senior Member
 
Join Date: Mar 2005
Posts: 836
Default

in general I find your question to be obscure. Provide a sample file/screenshot - illustrate the question.
Reply With Quote
  #7  
Old 20-11-2007, 00:45
shelbym's Avatar
shelbym shelbym is offline
Senior Member
 
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,769
Blog Entries: 9
Send a message via ICQ to shelbym Send a message via AIM to shelbym Send a message via MSN to shelbym Send a message via Yahoo to shelbym
Default GetBoundingBox

You might try getBoundingbox, it has the option to include the outline.
Code:
Sub GetSizeWithOutline()
    Dim s As Shape
    Dim x As Double, y As Double, w As Double, h As Double

    ActiveDocument.ReferencePoint = cdrBottomLeft
    Set s = ActiveShape
    
    s.GetBoundingBox x, y, w, h, True
    MsgBox "Width: " & w & " Height: " & h
End Sub
-Shelby
Reply With Quote
  #8  
Old 20-11-2007, 01:15
masterchiefph
Guest
 
Posts: n/a
Default

Thank you all
Reply With Quote
Reply


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
Striping a word down to the first letter only knowbodynow CorelDRAW/Corel DESIGNER VBA 9 19-04-2007 16:14
Adding text via VBA knowbodynow CorelDRAW/Corel DESIGNER VBA 2 03-03-2006 10:15
Text selection and sizing ddonnahoe CorelDRAW/Corel DESIGNER VBA 5 17-05-2005 14:19
format text dialog box implement graphicdesigner CorelDRAW/Corel DESIGNER VBA 5 22-12-2004 14:37
Reset text after text compression. Bellekom CorelDRAW/Corel DESIGNER VBA 2 05-05-2004 07:14


All times are GMT -5. The time now is 10:57.


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