private void OnDisable() { if (psd != null) { psd.Dispose(); } }
public void UnLoadDocument() { if (psd != null) { psd.Dispose(); psd = null; } }
//卸载PSD文件 void UnloadPSD() { psd.Dispose(); psd = null; }