Previous Document Next Document

Object Model Reference : Classes : C : CorelScriptTools : Methods : CorelScriptTools.ToInches


CorelScriptTools.ToInches

Function ToInches(Value As Double) As Double

Description

Member of CorelScriptTools

The ToInches method converts a numeric value to inches from tenths of a micron, which is the basic unit of measurement in Corel applications such as CorelDRAW and Corel VENTURA.

Parameter
Description
Value
Specifies the value to be converted

Example

In the following code example, xInch and yInch are set to the x- and y-coordinates of the selected object in inches:

.GetPosition (x,y)
xInch = TOINCHES (x)
yInch = TOINCHES (y)

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.