some F# methods for dealing with PDFs via MonoMac