Ticket Q460648
Visible to All Users

How to remove images from a document

created 11 years ago

Hello,
We needed a way to remove all images easily (we have a different solution for showing images).

Answers approved by DevExpress Support

created 11 years ago (modified 11 years ago)

Hello,
I recommend you use the RichEditControl.Document.Delete method to delete an image/shape from a document.
I have created a simple sample to illustrate how to implement these requirements.
Please find it in the attachment and let me know whether or not this solution meets your requirements.

    Comments (2)

      Great! Works for me. Thanks.

      DevExpress Support Team 11 years ago

        You are welcome!
        I am happy to hear that my assistance was helpful to you.
        Should you have any questions regarding our products, do not hesitate to contact us.

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.