Expand/Shrink

cdCanvasGetContext

Definition: include pGUI.e

cdContext context = cdCanvasGetContext(cdCanvas hCdCanvas)
Description: Returns the context of a given canvas, which can be compared with the predefined contexts, such as CD_PS.

Should you need the actual context, rather than the human-readable version, use cd_context() on the result.
pwa/p2js: Not supported.