from ironpdf import *
# Load existing PDF document
pdf = PdfDocument.FromFile("content.pdf")
# Extract text from PDF document
all_text = pdf.ExtractAllText()
# Extract text from specific page in the document
page_2_text = pdf.ExtractTextFromPage(1)
#Load existing PDF document
#Extract text from PDF document
#Extract text from specific page in the document
'INSTANT VB TODO TASK: The following line uses invalid syntax:
'from ironpdf import * pdf = PdfDocument.FromFile("content.pdf") all_text = pdf.ExtractAllText() page_2_text = pdf.ExtractTextFromPage(1)