This project has moved and is read-only. For the latest updates, please go here.

Hide or Remove a CustomProperty from a Doc and eliminate the reserve space

Jan 9, 2013 at 9:38 PM


I am creating letters using the AddCustomProperty function. Is working great but I need to validate when some data regarding some property in the document not exist, i want to remove or hide the property in the document and not have the reserve space. 



I have the address information like this

John  -- name
123 Ave suite 200 ---address1
[address2]  --- address2
chicago, CH 01234


if I dont have the addres2 i dont want to show the name of the property i want to remove or hide the property so the address will be like this:

123 Ave suite 200
chicago, CH 01234