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);
        }
Example #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);
        }