ItemGrabResult QML Type

Contains the results from a call to Item::grabToImage() . 更多...

导入语句: import QtQuick 2.7
实例化: QQuickItemGrabResult
继承:

QtObject

方法

详细描述

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.