Previous Document Next Document
CorelScriptTools.FromCentimeters

Function FromCentimeters(Value As Double) As Double

Member of CorelScriptTools

The FromCentimeters method converts a numeric value from centimeters to tenths of a micron.

Parameter
Description
Value
Specifies the value to be converted

  • Tenths of a micron are used as the basic unit of measurement in Corel applications such as CorelDRAW and Corel VENTURA.

The following CorelDRAW command creates a rectangle 7.5 by 8 centimeters. The rectangle’s top left corner coordinate is -5, 8 centimeters relative to the center of the page, and the corners are 0.75 centimeters in diameter.

.CreateRectangle FROMCENTIMETERS(8), FROMCENTIMETERS(-5), 
FROMCENTIMETERS(0), FROMCENTIMETERS(2.5), FROMCENTIMETERS(0.75) 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.