PrtItem.RemoveAttr(Method)

Syntax

PrtItem.RemoveAttr attrib$

Description

Removes an Attribute from the Item. If the Attribute is not found an error is generated.

Example

Dim Region as new prt.Region

Region.Id = "Detainment"

'Get a list of items in a region and remove an attribute from

'    each of them one by one.

Region.GetItemList

For j = 0 to Region.ItemCount - 1

       Region.Item(j).RemoveAttr "BODYCOLOR"

Next j

More information

PRT Object Model member list.