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

freyp576

Reply to: Unable to call Range method GreaterThan from C#/COM-Interop

Hi 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

Reply

Products
Downloads
Support