【发布时间】:2020-10-23 16:57:50
【问题描述】:
我认为对于创建 Interop.Photoshop.dll 的人来说,在地狱中有一个特殊的地方。 问题。我正在尝试在 C# 中更改 RadialBlur 效果的中心。但我不知道在那里传递什么以及如何传递参数。 方法的定义说
void ApplyRadialBlur (int Amount, Photoshop.PsRadialBlurMethod BlurMethod, Photoshop.PsRadialBlurQuality BlurQuality, [object BlurCenter])
也就是说,任何东西都可以传递给第四个参数。因为object关键字是所有类型的根。
在 vbs 帮助中 (https://www.adobe.com/devnet/photoshop/scripting.html, https://www.adobe.com/content/dam/acom/en/devnet/photoshop/pdfs/photoshop-vbs-ref-2020.pdf) 它说
[, BlurCenter] type Number (Double) 参数 BlurCenter 是
位置(单位值)。
什么?对我来说?做?有了这个?信息?
我花了几个小时,所以找不到正常的com接口工作描述。
【问题讨论】:
标签: c# .net photoshop photoshop-script