Difference between revisions of "IMAGE"
From Macros Wiki
Line 1: | Line 1: | ||
{{Command|syntax=IMAGE <left>, <top>, <width>, <height>, <filename> | {{Command|syntax=IMAGE <left>, <top>, <width>, <height>, <filename> | ||
− | |description= | + | |description=:Define the size and the position of an image. |
|param1=<left>|param1_desc={{left}} | |param1=<left>|param1_desc={{left}} | ||
Line 11: | Line 11: | ||
===Example=== | ===Example=== | ||
− | :- IMAGE | + | :- IMAGE 265, 35, 100, 100, "d1-r1-1.bmp" |
[[Category:Dialog]] | [[Category:Dialog]] |
Revision as of 12:37, 19 July 2010
Command
- IMAGE <left>, <top>, <width>, <height>, <filename>
- Define the size and the position of an image.
Parameters
- <left>
- Start position measured from the left edge of the dialog.
- <top>
- Start position of measured from the top edge of the dialog.
- <width>
- Width of the control.
- <height>
- Height of the control.
- <filename>
- Filename as either text in double quotes, or a text variable.
- If the filename does not contain full path information, then the file will be opened in the same folder as the macro.
Example
- - IMAGE 265, 35, 100, 100, "d1-r1-1.bmp"