Hi,
since there are no explicit function to do that, also no native autocad command,
I would need to check all the data structure to understand, how it works.
I am not next to my Autocad and my own codes and notes,
so I would need to search online for it
but it's on you.
Start to check all around the pdfunderlay definition
(setq dictcoll (vla-get-dictionaries (vla-get-activedocument (vlax-get-acad-object))))
(vlax-for di dictcoll
(if
(eq (vl-catch-all-apply 'vla-get-name (list di)) "ACAD_PDFDEFINITIONS")
(Vlax-dump-object di)
)
Please check the code yourself, I am walking on a treadmill with a 6" device, isn t funny to read&write.