Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
jaka73LU2
in reply to: Andrii_Humeniuk

I already tryed that but thought that it was not the right way, because the object I get back does not react to anything I would expect it to react to.

It does not react to visibility, suppression or adding it to selectSet. Example:

occPatt.Visibility = False

occPatt.Suppression()

This.Application.ActiveDocument.SelectSet.Select(occPatt)

 

When I try visibility it goes throo without an error, but nothing happens.

When I try suppress it gives error: Public member 'Suppress' on type 'RectangularOccurrencePattern' not found.

When I try SelectSet.Select I get an error: The parameter is incorect