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 11-06-2004, 00:03
GoodLook
Guest
 
Posts: n/a
Default Position inch to mm

When I position text it uses inches, how can i set this to be in mm(milimeters)

Quote:
Set s = ActiveLayer.CreateArtisticText(10, 10, "FIRST LINE", cdrDutch, -1, "Arial", 26, cdrTrue, cdrFalse, cdrFalse, cdrLeftAlignment)
here = 10 should be 10mm
now it is 10x25.4 = 254 mm
Reply With Quote
  #2  
Old 11-06-2004, 07:10
Alex's Avatar
Alex Alex is offline
Administrator
 
Join Date: Nov 2002
Posts: 1,941
Blog Entries: 4
Default Re: Position inch to mm

Use this first:

Code:
ActiveDocument.Unit = cdrMillimeter
Reply With Quote
  #3  
Old 11-11-2008, 00:47
99zhang
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Alex View Post
Use this first:

Code:
ActiveDocument.Unit = cdrMillimeter
How can i do in pp12£¡haven't unit property in it?
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
how to read point position (x/y) of any shape with VB-addin Andi CorelDRAW/Corel DESIGNER VBA 1 09-09-2004 08:32
Getting the mouse position Rick Randall CorelDRAW/Corel DESIGNER VBA 1 04-12-2002 09:29


All times are GMT -5. The time now is 01:34.


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