خانه > comp > gb.qt > picture > _get 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar id vi ko ja ru zh zh_TW eo
قبلی  بعدی  ویرایش  تغییر نام  واگرد  Search  سرپرستی  
مستندات  
اخطار! این صفحه ترجمه نشده است.  مشاهده نسخه انگلیسی 
Picture[] (gb.qt)
DIM hPicture AS Picture

hPicture = Picture [ Path AS String ]

Returns a Picture شی from the internal picture cache.

If the picture is not present in the cache, it is automatically loaded from the specified file.

If Path begins with "icon:/", then it means that you want to get a stock icon. This icon is get by sending to the array accessor the Stock class the path without the "icon:/" prefix, and by returning the result.

مثال

' Put a standard "close" icon inside a button
MyButton.Picture = Picture["icon:/16/close"]