Contains the results from a call to Item::grabToImage() . 更多...
| import 語句: | import QtQuick 2.12 |
| 實例化: | QQuickItemGrabResult |
| 繼承: | QtObject |
The ItemGrabResult is a small container used to encapsulate the results from Item::grabToImage() .
另請參閱 Item::grabToImage() .
|
bool saveToFile ( fileName ) |
Saves the grab result as an image to fileName . Returns true if successful; otherwise returns false.