コード例 #1
0
        public void Dispose()
        {
            if (_disposed)
            {
                return;
            }

            PdfiumLibrary.FORM_DoPageAAction(Page, _form, FPDFPAGE_AACTION.CLOSE);
            PdfiumLibrary.FORM_OnBeforeClosePage(Page, _form);
            PdfiumLibrary.FPDFText_ClosePage(TextPage);
            PdfiumLibrary.FPDF_ClosePage(Page);

            _disposed = true;
        }