---
title: "IExternalTranslateItemCommandArgs Interface"
canonical: https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.commands.iexternaltranslateitemcommandargs.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Editor"
    versions: ["6.15.0", "6.x (may differ)"]
---

**You’re viewing outdated documentation.** [View the latest Customer’s Canvas On-Premises documentation](https://customerscanvas.com/docs/on-premises/).

# IExternalTranslateItemCommandArgs Interface

**Applies to:** Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · **Archived documentation**
 
A structure defining the **TranslateItems** command parameters.
  
 - example
     - ```
const ids = (await editor.getSelectedItems()).map(item => item.id);
const args = {
    // Move the selected items to the lower-right corner.
    itemIds: ids,
    // 10% of the print area.
    translateX: "10%",
    translateY: "10%"
};
editor.commandManager.execute("translateItems", args);
```
 
## Properties
 
### itemIds
 
itemIds: string []

An array of item identifiers.
 
### translateX
 
translateX: number  |  string

The distance to translate (move) the items along the X-axis, in either points or percent relative to the print area. For example, `72` or `"10%"`.
 
### translateY
 
translateY: number  |  string

The distance to translate (move) the items along the Y-axis, in either points or percent relative to the print area. For example, `72` or `"10%"`.
