Beispiel #1
0
 private static extern ScDomResult SciterSetElementHtml(IntPtr he, /*[MarshalAs(UnmanagedType.LPStr)]*/ Byte[] html, int htmlLength, SET_ELEMENT_HTML where);
Beispiel #2
0
 private static extern ScDomResult SciterSetElementHtml(IntPtr he, /*[MarshalAs(UnmanagedType.LPStr)]*/ Byte[] html, int htmlLength, SET_ELEMENT_HTML where);
Beispiel #3
0
        /// <summary>
        /// Updates element html
        /// </summary>
        public void SetElementHtml(Element he, String text, SET_ELEMENT_HTML loc)
        {
            var bytes = MarshalUtility.StringToByteUtf8(text);

            CheckResult(SciterSetElementHtml(he.Handle, bytes, bytes.Length, loc));
        }
Beispiel #4
0
 /// <summary>
 /// Updates element html
 /// </summary>
 public void SetElementHtml(Element he, String text, SET_ELEMENT_HTML loc)
 {
     var bytes = MarshalUtility.StringToByteUtf8(text);
     CheckResult(SciterSetElementHtml(he.Handle, bytes, bytes.Length, loc));
 }