是否有從 DM 中打開的影像讀取“檔案位置”的功能?在 ImageInfo/Image/Info 下,在視窗底部,我可以讀取“檔案位置”下的路徑。
我可以使用腳本呼叫來獲取該資訊作為完整路徑 - 函式呼叫是什么?
謝謝,埃德加
uj5u.com熱心網友回復:
是的。但是請注意,系結到檔案的是ImageDocument,而不是Image。因此,該命令是 ImageDocument 物件的方法。
String ImageDocumentGetCurrentFile( ImageDocument img_doc )
一個典型的腳本是這樣的:
imageDocument doc = GetFrontImage().ImageGetOrCreateImageDocument()
if ( doc.ImageDocumentIsLinkedToFile() )
Result("\n File of current front image:" doc.ImageDocumentGetCurrentFile())
else
Result("\n Current front image is not linked to a file.")
您可能還會發現此答案很有用。
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/397861.html
下一篇:蓋茨比靜態影像0X0
