IMAGE: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(9 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Command|syntax=IMAGE <left>, <top>, <width>, <height>, < | [[:Category:Dialog|{{Up}}]] | ||
|description= | |||
{{Command|syntax=[[Image:Image.png|right|IMAGE]] IMAGE <left>, <top>, <width>, <height>, <filename> | |||
|description=:Define the size and the position of an image (must be a windows bitmap file). | |||
|param1=<left>|param1_desc={{left}} | |param1=<left>|param1_desc={{left}} | ||
Line 6: | Line 8: | ||
|param3=<width>|param3_desc={{width}} | |param3=<width>|param3_desc={{width}} | ||
|param4=<height>|param4_desc={{height}} | |param4=<height>|param4_desc={{height}} | ||
|param5=< | |param5=<filename>|param5_desc={{filename}} | ||
}} | }} | ||
===Example=== | ===Example=== | ||
:- | :IMAGE 265, 35, 100, 100, "d1-r1-1.bmp" | ||
:For an example macro see [[Create_Contour]] [[GeoPattern_Part.dlg]] [[GeoPattern_Repeats.dlg]] [[GeoSavedProcess.dlg]] | |||
[[Category:Dialog]] | [[Category:Dialog]] |
Latest revision as of 18:31, 18 August 2010
Command
- Define the size and the position of an image (must be a windows bitmap file).
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"
- For an example macro see Create_Contour GeoPattern_Part.dlg GeoPattern_Repeats.dlg GeoSavedProcess.dlg