fixed Width and height of image in picture Content Control RRS feed

  • Question

  • Hello ..

    I have created a project using VSTO , which is populating data from sql database ,

    i am trying to bind image to pictureContentControl , which is OK , but the problem is how to set the fixed Width and height programmatically using c# ,,,

    here is my Code for retrieving the image from database using DataSet ..

     Byte[] byteBLOBData = new Byte[0];
                    byteBLOBData = (Byte[])(Site_DescRow.Img1);
                    MemoryStream stmBLOBData = new MemoryStream(byteBLOBData);

    i need to have fixed width and height of the above code ...


    Thank you

    • Moved by Liliane Teng Tuesday, October 4, 2011 8:41 AM more appropriate forum (From:Word for Developers)
    Monday, October 3, 2011 5:45 AM

All replies