PDFDocument.ToData

From Xojo Documentation

Method

PDFDocument.ToData() As MemoryBlock

New in 2021r1

Supported for all project types and targets.

Returns a MemoryBlock that represents the PDFDocument's contents.