Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • vladzebu 59 posts 346 karma points
    Sep 22, 2009 @ 13:53
    vladzebu
    0

    Change PropertyValue

    How can i change the value of a property from C# code . 

    Best regards , Vlad

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Sep 22, 2009 @ 13:59
    Aaron Powell
    0

    By assigning it?

    var doc = new Document(1234);
    doc.getProperty("my_property_alias").Value = "Hello World";
    doc.Save();

    Or are you asking when is the best time to do the assignment? If that's the case then it really depends on what you're trying to achieve. If you want to change it depending on a save operation then you can use the After_Save event which is fired.

    Maybe if you better explained what you are trying to achieve we can help better :)

Please Sign in or register to post replies

Write your reply to:

Draft