Hello

I am trying to use the .Net Core SDK and  try to run some program, which
previously run on .Net Framework.

There is a strange issue here: there are two properties of a
character, CharEscapement and CharEscapementHeight, they are set like

 XText DocText = m_Doc.query<XTextDocument>().getText();
m_TextCursor = DocText.createTextCursor();

XPropertySet CurObject = m_TextCursor.query<XPropertySet>();

CurObject.setPropertyValue("CharEscapement", new Any((Int16)0));
CurObject.setPropertyValue("CharEscapementHeight", new Any((Byte)100));

And the CharEscapement is set successfully, but an : 'Object reference not
set to an instance of an object.' exception occurres when the second
property is set.

Could you tell me if there is a known workaround about the issue?



-- 
Best Regards,
Ilia Sokolov

Reply via email to