none
如何在DataGridView中添加RichTextBox列? RRS feed

答案

全部回复

  • Hi,

    我这里找到一篇有关在DataGridView中添加RichTextBox列的文章或许你可以参考一下:

    RichTextBox Cell in a DataGridView

    Regards,

    Kyle


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    2019年5月28日 1:55
    版主
  • Hi,

    我这里找到一篇有关在DataGridView中添加RichTextBox列的文章或许你可以参考一下:

    RichTextBox Cell in a DataGridView

    Regards,

    Kyle


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    非常感谢您的回复!

    该文中的下列语句有错误,无法使用:

                // Print image
                rtfImg = RichTextBoxPrinter.Print(ctl, imgSize.Width, imgSize.Height);


    韩立学

    2019年5月28日 1:59
  • Hi, 

    你可以通过以下链接来下载源码,它是完全可以正常执行的。


    Regards,

    Kyle


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    2019年5月28日 2:10
    版主