ed.Regen()
不过在图元较多时可能很慢
试下下面的
[System.Security.SuppressUnmanagedCodeSecurity] [DllImport("acad.exe", CallingConvention = CallingConvention.Cdecl)] private static extern Int32 acedRedraw(long[] name, Int32 mode);
public static void Redraw() { acedRedraw(null, 1); } |