none
How can I get Visio.Shape from MemoryStream RRS feed

  • Question

  • Hi all,

    I want to get some properties from Visio.Shape. This Shape now is in Clipboard and I only know how to convert it to MemoryStream: System.Windows.Forms.Clipboard.GetData("Visio 11.0 Shapes")

    I don't  know how to get shape or properties from this stream except Page.Drop(stream, x, y), but I can't use drop for some reason.

    Thursday, June 29, 2017 6:31 AM

All replies

  • Hello,

    Office object model doesn't provide any similar methods. I think we could not get the shape object from clipboard.

    I suggest you use Copy/Paste method to get the shape instead.

    Regards,

    Celeste


    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.

    Friday, June 30, 2017 7:21 AM
    Moderator