Rasterex Web SDKAPI client referencePro VersionPDFMethodsgetCanvasSizeOn this pagegetCanvasSizeUsed for Foxit integration to get the scaled canvas size given the current device pixel ratio. Syntax var csize = RxCore.getCanvasSize();//csize = {w : number, h : number}; Parameters None Returns csize — object w = width of canvas h = height of canvas.