02-19-2015
04:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
02-19-2015
04:22 AM
Hi John,
You can add a user text parameter like this.
If you want it to be a multi-value parameter you'll need to create a new arraylist and add the arraylist itself as the value of the new parameter (replacing "InitialValue" in the example below:
Regards,
Luke
Dim oDrawDoc As DrawingDocument = ThisApplication.ActiveDocument Dim oDrawParams As UserParameters = oDrawDoc.Parameters.UserParameters Dim TestParam As UserParameter = oDrawParams.AddByValue("TestParam" , "InitialValue", UnitsTypeEnum.kTextUnits)