How to render HTML element without using web browser?

后端 未结 3 2122
臣服心动
臣服心动 2021-02-05 13:00

Is there a way how to draw specific HTML element content on a canvas without using any web browser control ?

With this code I\'m rendering the element to the form\'s can

3条回答
  •  甜味超标
    2021-02-05 13:49

    DrawToDC and IViewObject both require the TWebBrowser control to actually render the document into a target DC.

提交回复
热议问题