Rasterex Web SDKAPI client referenceFile/ViewerMethodssetLayoutOn this pagesetLayoutCall to set canvas size based on web page content. Syntax RxCore.setLayout(layout) Parameters layout: object — Object containing properties offsetWidth and offsetHeight. Values in pixels. Returns NA — This method does not return a value.