Previous Document Next Document

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


CorelScriptTools.FromInches

Function FromInches(Value As Double) As Double

Description

Member of CorelScriptTools

The FromInches method converts a numeric value from inches to 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

The following VBA example creates a rectangle 3 by 3 inches. The rectangle’s top-left coordinate is -2, 3 inches relative to the center of the page, and the corners are 0.25 inches in diameter.

.CreateRectangle FROMINCHES(3), FROMINCHES(-2), FROMINCHES(0), FROMINCHES(1), FROMINCHES(0.25)

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.