Dispose

XpsDevice.Dispose method

释放此设备实例。最终确定此设备实例图形状态, 即将 APS 组合上下文切换到ApsCanvas高于 this 设备的图形状态的级别ApsCanvas.

public override void Dispose()

也可以看看