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 02-09-2009, 15:30
thayne
Guest
 
Posts: n/a
Default Special square and cube characters for units

In the CorelDRAW VBA help file under Units of Measurement...Supported Query Methods, there is a line that shows how to put square and cube into a unit but I don't quite get what (U+00B2) means. Here is the quote from the file:

Quote:
Powers of 2 and 3 can be specified by using special characters ² (U+00B2) and ³ (U+00B3) after the unit of measurement, as in the following examples:

{2 mm²} yields 2 sq. mm
{3 in³} yields 3 cubic inches
How do I enter those characters?

Thayne

Last edited by thayne; 02-09-2009 at 16:39.
Reply With Quote
  #2  
Old 02-09-2009, 16:50
thayne
Guest
 
Posts: n/a
Default

Found it....

Hold down ALT and on the keypad type 0178 for ² or 0179 for ³.

Side note: Apparently the 00B2 and 00B3 are the hexidecimal numbers for the ASCII code for superscript 2 and 3. I've just never seen U+ before used to designate hex.

Thayne

Last edited by thayne; 02-09-2009 at 16:54.
Reply With Quote
  #3  
Old 03-09-2009, 15:29
Alex's Avatar
Alex Alex is offline
Administrator
 
Join Date: Nov 2002
Posts: 1,940
Blog Entries: 4
Default

U stands for "Unicode", not Hex.

U+00B2 means a Unicode character with hex code of 00B2, or 178 in decimal.
Reply With Quote
  #4  
Old 08-09-2009, 09:20
thayne
Guest
 
Posts: n/a
Default

Thanks for the clarification, that makes sense.
Reply With Quote
Reply

Tags
units, vba


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
Document Units Gadget CorelDRAW/Corel DESIGNER VBA 2 14-02-2008 06:34
Characters to the right of a special character norbert_ds CorelDRAW/Corel DESIGNER VBA 3 03-05-2007 20:59
Odd square characters Beatniks CorelDRAW/Corel DESIGNER VBA 4 23-04-2007 22:38
Special Rotate ddonnahoe CorelDRAW/Corel DESIGNER VBA 7 26-04-2004 12:20
Special Characters Craig Tucker CorelDRAW/Corel DESIGNER VBA 3 12-03-2003 11:57


All times are GMT -5. The time now is 12:58.


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