Deletes the selected association from the current page.
After an item has been deleted, a call to PageSelectNextAssociation will select the item immediately following the deleted item.
Syntax
PageDeleteAssociation()
Return Value
0 (zero) if successful, otherwise an error is returned.
Note: For details on handling return and error values, see Error Handling.
Example
Deleting any associations starting with “a”:
Dim name As String On Error Resume Next Err.Clear() GraphicsBuilder.SelectFirstAssociation() While (Err.Number = 0) name = GraphicsBuilder.PageAssociationName If (name.ToLower().StartsWith("a")) Then GraphicsBuilder.PageDeleteAssociation() End If GraphicsBuilder.PageSelectNextAssociation() End While
Related Functions
Published June 2018