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

    • Comprehensive Feature Guide for canvasxdraw

      Comprehensive Feature Guide The Professional Standard for 2D Technical Illustration & Documentation. 1. Unified Vector & Raster Workflow Unlike many design suites that require switching between different apps for photos and drawings, canvasxdraw ...
    • 2D Illustration Cheat Sheet

      2D Illustration Cheat Sheet for our trial-ers Master the technical edge in minutes. 1. The Power Shortcuts (Must-Knows) > Direct Edit Mode: Double-Click any object to enter edit mode, or press Cmd + E (Mac) / Ctrl + E (Win). > The "Magic" ...
    • 2D Illustration Cheat Sheet

      2D Illustration Cheat Sheet for our trial-ers Master the technical edge in minutes. 1. The Power Shortcuts (Must-Knows) > Direct Edit Mode: Double-Click any object to enter edit mode, or press Cmd + E (Mac) / Ctrl + E (Win). > The "Magic" ...
    • Canvas X Draw Menus

      Canvas X Draw Menus Canvas X Draw File Edit Text Object Path About Canvas X Draw... Preferences... Check for Updates Services Hide Canvas X Draw Hide Others Show All Quit Canvas X Draw New... Open... Open Recent Close Place... Import Images... Symbol ...
    • 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 ...
    • 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

    • The new macOS Native/Universal app has arrived!

      Exciting news for Mac users! The first universal native app is here! This new version is be compatable with all macOS versions and chipsets. Subscription users can download here Perpetual users looking to upgrade click here Free trials here Thank ...
    • 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)?