You'd either need to know the binary format of PDF files or else have some component that could do it for you. There's a link to a PDF component in my signature but I'm not sure if it can do what you're asking as I've never actually used it myself.