Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有谁知道如何在 XObject 中获取流的“ID”?我需要获取 ID 作为字符串,如下图所示 - /Im0
在我的 C++ 代码中,我完全拥有 XObject 作为 PoDoFo::PdfReference 但不知道如何获取此 ID。
如果有人有问题,那么解决方案是从 Pdf Page 作为 Dictionary 获取资源并获取 XObject 并获取键的名称,它是流的 id。