Loop document properties

for dp in Document.Data.Properties.GetProperties(0): 
   if dp.IsUserVisible: print d.Name, d.Value

Source: stackoverflow
Previous
Next Post »