# (dimx_tile key)
[GstarCAD 2011](../../../Index.md) → [Developer Reference](../../%28Developer%20Reference%29.md) → [AutoLISP Reference](../%28AutoLISP%20Reference%29.md) → [LISP Functions](%28LISP%20Functions%29.md)
<!-- help-structure:notice -->
> **Source status:** This source topic has 1 recorded inherited issue(s). [Source issue details](../../../Source%20Issues.md).
<!-- /help-structure:notice -->
<a id="150"></a>
## (dimx\_tile key)
---
Determine the x-dimension of a dialog box tile.
---
This function, together with [dimy\_tile](%28dimy_tile%20key%29.md) function, returns the dimensions of the [tile](../../../Source%20Issues.md#issue-c858a75ee8b08f18) with the name *key*. The x,y dimensions are typically used by other dialog box functions, such as vector\_image.
**Example**
| Code | Returns |
| --- | --- |
| (**dimx\_tile** "pickbox\_image") | 20 |
| (**dimy\_tile** "pickbox\_image") | 15 |
### NOTES
- The dimension returned is *one less* than the size, since the dimension begins at 0\. Thus, for the example above, the size of the tile is 16 x 16\.
- The *key* is a case-sensitive string.
**Tell me about...**
[(fill\_image x y width height color)](%28fill_image%20x%20y%20width%20height%20color%29.md)
[(slide\_image x y width height slide)](%28slide_image%20x%20y%20width%20height%20slide%29.md)
[LISP Compatibility](../LISP%20Compatibility.md)
[Programming Overview of LISP (LISt Processing) Language](../Programming%20Overview%20of%20LISP%20%28LISt%20Processing%29%20Language.md)
<a id="holding"></a>
## Other versions with matching text
[GstarCAD 2012](../../../../2012/Developer%20Reference/AutoLISP%20Reference/LISP%20Functions/%28dimx_tile%20key%29.md)