doc = app.Documents.Add(fileInfo[i].FullName);
Vis.Shapes shapes = doc.Pages[1].Shapes;
for (int j = 1; j <= shapes.Count; j++)
{
if (shapes[j].Text.StartsWith("getSomeThing"))
{
shapes[j].Text = "doSomething()";
}
}
形状[j].Text = "doSomething()"; この行で例外が発生します。修正方法を教えてください。
COMExceptionが発生します。
例外メッセージは「要求された操作は無効です」です。
エラー コード = -2032465766