<div dir="ltr"><div>Hello</div><div><br></div><div>I am trying to use the .Net Core SDK and  try to run some program, which previously run on .Net Framework.</div><div><br></div><div>There is a strange issue here: there are two properties of a character, CharEscapement and CharEscapementHeight, they are set like</div><div><br></div><div> XText DocText = m_Doc.query<XTextDocument>().getText();<br> m_TextCursor = DocText.createTextCursor();</div><div><br></div><div>XPropertySet CurObject = m_TextCursor.query<XPropertySet>();</div><div><br></div><div>CurObject.setPropertyValue("CharEscapement", new Any((Int16)0));           <br>                       CurObject.setPropertyValue("CharEscapementHeight", new Any((Byte)100));  </div><div><br></div><div>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.</div><div><br></div><div>Could you tell me if there is a known workaround about the issue?</div><div><br></div><div> </div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr">Best Regards,<div>Ilia Sokolov</div><div><br></div></div></div></div></div></div></div></div></div></div></div>