画像サイズ変更の不具合を解消する
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Imports C1.Win.C1Editor Public Class Form1 Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load UseIEDefault(C1Editor1) End Sub Private Shared Sub UseIEDefault(ByVal editor As C1Editor) Const meta1 As String = "<meta http-equiv=""X-UA-Compatible"" content=""IE=8"" />" Const meta2 As String = "<meta http-equiv=""X-UA-Compatible"" content="""" />" Dim xml As String = editor.Xml.Replace(meta1, meta2) editor.Xml = xml End Sub End Class |
コメント