[moss 2007]Change a property of an image

I need to modify a property of an image by programming.
But it gives me an error because I must check-out the image before.
Does anybody know how I can do it

Thanks




Answer this question

[moss 2007]Change a property of an image

  • LasseJ

    Hi Elena,

    Well the error message basically says it, first check out the doucment. You can do two things to achieve that.

    1) disable the check-out settings in the list settings, so images can be changed even if the file is not checked out.

    2) you can programatiaclly check out the document first, before changing the properties. This page shows an example: http://msdn2.microsoft.com/en-us/library/ms454425.aspx

    I hope this helps!

    Mart



  • [moss 2007]Change a property of an image