Home › Forums › General XMetaL Discussion › Unable to call Range method GreaterThan from C#/COM-Interop › Reply To: Unable to call Range method GreaterThan from C#/COM-Interop
Reply to: Unable to call Range method GreaterThan from C#/COM-Interop
February 25, 2011 at 9:10 amHi Derek,
thanks for the link. I will check that.
Also, I found the cause of my problem in the meantime. IsGreaterThan has an additional argument – and no default value when called from C#:
bool get_IsGreaterThan(XMetaL.Range Selection, bool OrEqual)
Member von XMetaL.Selection
so after passing false as value for the second argument, I was able to solve my problem.
best regards,
Peter Frey