Имя функции | dcl-PictureBox-LoadPictureFile |
---|---|
Синтаксис | (dcl-PictureBox-LoadPictureFile
<CONTROL>
Filename [типа
String] {Stretch [типа
Boolean]}) |
Возвращаемый тип | Boolean (T - успешно; иначе NIL) |
Подходит к | Picture Box |
This method displays the image in Filename. The file can be a bitmap (.bmp), JPEG (.jpg), PNG (.png), Windows metafile (.wmf), or icon (.ico) file. If Stretch is T, the picture is enlarged uniformly as much as possible to still fit inside the control.