예제 #1
0
        public void Dispose()
        {
            this.ptr = null;

            if (this.paperMetrics != null) { this.paperMetrics.Dispose(); }
            this.paperMetrics = null;

            if (this.paperMargins != null) { this.paperMargins.Dispose(); }
            this.paperMargins = null;

            GC.SuppressFinalize(this);
        }
예제 #2
0
        public void Dispose()
        {
            this.ptr = null;

            if (this.paperMetrics != null)
            {
                this.paperMetrics.Dispose();
            }
            this.paperMetrics = null;

            if (this.paperMargins != null)
            {
                this.paperMargins.Dispose();
            }
            this.paperMargins = null;

            GC.SuppressFinalize(this);
        }