Using Expressions for Numeric Values

Using Expressions for Numeric Values

Using Expressions for Numeric Values

You can type basic mathematical expressions to specify numeric values in Canvas X Draw dialog boxes and palettes. You can use addition, subtraction, division, and multiplication operators in simple expressions; e.g., you can type a fractional value, such as 2/3, in place of a decimal value.

To Type an Expression:

To enter operators in expressions, type a plus sign (+) for addition; a minus sign (-) for subtraction; a slash (/) for division; and an asterisk (*) for multiplication.

You can type parentheses to nest values and operators in expressions. Do not type an equal sign in an expression.

Canvas X Draw calculates the result of a mathematical expression when you press Tab or Enter, or click an Apply button, or move to another value in a dialog box.

To Modify a Value:

  1. To use an existing value in an expression, click after the number to place an insertion point.
  2. Type the remainder of the expression; e.g., to make the width of an object 3 times larger, click after the existing value and type * 3, and then press Enter. To make the value one-third as large, type / 3.

By entering expressions after existing values in the Transform palette, you can move objects incrementally; e.g., to move an object 3/4 inch to the right, type + 3/4 after the X value.

Specifying Measurement Units

In most dialog boxes, you can type abbreviations to specify measurement units. You can use this feature to override a document’s measurement units or the specific measurement units used in these dialog boxes.

For example, when inches are a document’s unit of measurement, you can type 1 cm to specify 1 centimeter. Canvas X Draw converts 1 cm and displays it as .3937 inches.

The following are the abbreviations you can type to specify a unit of measurement.

Abbreviation

Unit of measure

in

inches

ft

feet

y

yards

mi

miles

p

picas

pt

points

mm

millimeters

m

meters

km

kilometers

cm

centimeters

To Use an Abbreviation for a Measurement Unit:

In a text box that accepts numerical values, type a value followed by the abbreviation for the measurement unit.

Canvas X Draw converts the numerical value to the measurement units you are using in the document when you press Tab or Enter, or click an Apply button, or click in another edit box.

You can even type a mathematical expression using more than one measurement unit; e.g., you can type 1p+1cm.

    • Recent Articles

    • Privacy at a Glance: Vector GFX Data Handling

      Privacy at a Glance: Vector GFX Data Handling Feature Standard License Air-Gapped License Who can see your files? Only You. Vector GFX has zero access to your drawings or IP. Only You. Vector GFX has zero access to your drawings or IP. What user info ...
    • Vector GFX Support Policy Summary

      Vector GFX Support Policy Summary: Stay Current! To ensure you are running the most secure, stable, and feature-rich version of Vector GFX, we maintain a clear N-1 Support Model. This means we focus our resources on supporting the latest technology, ...
    • Security and Trust: Frequently Asked Questions (FAQ)

      Frequently Asked Questions (FAQ): Security & Trust 1. CMMC & Government Compliance Does Vector GFX comply with CMMC 2.0 requirements? Yes. Vector GFX aligns its internal operations and secure development lifecycle with NIST SP 800-171, the foundation ...
    • Security and Trust: Frequently Asked Questions (FAQ)

      Frequently Asked Questions (FAQ): Security & Trust 1. CMMC & Government Compliance Does Vector GFX comply with CMMC 2.0 requirements? Yes. Vector GFX aligns its internal operations and secure development lifecycle with NIST SP 800-171, the foundation ...
    • Vector GFX Customer Trust & Security Policy

      Vector GFX Customer Trust & Security Policy Last Updated: February 20, 2026 Overview At Vector GFX, we understand that our technical illustration software—including canvasxdraw—is a mission-critical tool for your engineering and design workflows. ...
    • Related Articles

    • Using Expressions for Numeric Values

      Using Expressions for Numeric Values You can type basic mathematical expressions to specify numeric values in Canvas X Draw dialog boxes and palettes. You can use addition, subtraction, division, and multiplication operators in simple expressions; ...
    • Using Expressions for Numeric Values

      Using Expressions for Numeric Values You can type basic mathematical expressions to specify numeric values in Canvas X Draw dialog boxes and palettes. You can use addition, subtraction, division, and multiplication operators in simple expressions; ...
    • Using Expressions for Numeric Values

      Using Expressions for Numeric Values You can type basic mathematical expressions to specify numeric values in Canvas X Draw dialog boxes and palettes. You can use addition, subtraction, division, and multiplication operators in simple expressions; ...
    • Using Math Expression 2-D Plot Commands

      Using Math Expression 2-D Plot Commands In Canvas X Draw you can use Math Expressions to create a visual representation of an equation. The visual representation is created as a vector object that uses the current Pen and Fill inks. You can also ...
    • Using SpriteEffects

      Using SpriteEffects SpriteEffects let you apply image effects and filters to vector objects, images, text, and grouped objects. The types of effects and filters you can apply include: Artistic effects, such as Crystallize, Lens Flare, Oil Painting, ...
    • Popular Articles

    • Exciting Users for Mac Users!

      Exciting news for Mac users! The first universal native app is in developemt! This new version will be compatable with all macOS versions and chipsets. We expect to release in March of 2026. More to come, stay tuned for updates!! - Vector GFX Team
    • Welcome to Vector GFX!

      Please bear with us as we are busy updating all of our help content. If you need immeadiate assistance submit a ticket at https://vgfxsupport.zohodesk.com/portal/en/newticket or e-mail info@vectorgfx.net. Other important links: New Website: ...
    • Vector GFX: Quality Assurance Program Overview

      Vector GFX: Quality Assurance Program Overview At Vector GFX, we are committed to delivering high-performance, stable desktop solutions. Because our software resides directly on our customers' local environments, our Quality Assurance (QA) program ...
    • How many computers can I put a license on?

      Overview: Each license can only be used to register the program on two computers. If you are looking to get more than one license, we can offer a discount for multiple licenses. Please contact our sales department at sales@vectorgfx.net. Applies To: ...
    • What is the difference between Canvas X Draw and Canvas X Pro (Canvas GFX)?