Usage of UCanvasRenderTarget2D

Hi,
i want to render the editor view to a custom render target. I found UCanvasRenderTarget2D and the descriptions are promising, but i’m a bit lost on how to use it. My understanding is that i can use the EditorViewportClient function Draw to draw on a canvas that is linked to rendertarget. I expected that UCanvasRenderTarget2D defines both canvas and rendertarget and exposes former so that i can use draw with it, but i don’t see a function for that? What is the correct way of using this class?