Method XbpFileDev():create() Foundation

Requests system resources for a device context to use in creating metafiles.

:create() --> self

This method returns the object executing the method (self).


An XbpFileDev object manages a device context that is provided by the operating system. After XpbFileDevice():new() is called, the XbpFileDev object exists but not the device context. The :create() method requests the device context from the operating system. After this is done, the XbpFileDev object can be linked with a presentation space.


If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.