dlg_add_image()

Adds an image to a dialog window.

If no filename is provided, an empty image placeholder is created.

Syntax

dlg_add_image(handle)
dlg_add_image(handle, filename)

Parameters

Parameter Type Description
handle String The handle of the dialog.
filename String The path to the image file to be added. Optional

Return Value

Examples

Add an image to the dialog

dlg_add_image("dialog_123", "C:/images/logo.png");

Create an empty image placeholder

dlg_add_image("dialog_123");

See also

dlg_new
dlg_show

dlg_add_separator()
dlg_add_image
dlg_add_label
dlg_add_checkbox
dlg_add_num_input
dlg_add_txt_input
dlg_add_dropbox()
dlg_add_button

dlg_comp_pos
dlg_comp_size
dlg_comp_color
dlg_comp_font
dlg_comp_name
dlg_comp_value
dlg_comp_callback

dlg_draw_line
dlg_draw_arrow
dlg_draw_circle
dlg_draw_rect