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.
我正在为 Aspose.Words 编写 IFieldMergingCallback 类,并且在 FieldMerging 中想要访问触发方法调用的当前表的当前行......我可以看到一种获取特定字段值的方法,但没有办法获得进一步的数据?
请检查以下代码片段以供您参考。希望这对您有所帮助。
void IFieldMergingCallback.FieldMerging(FieldMergingArgs args) { Row row = (Row)args.Field.Start.GetAncestor(NodeType.Row); if (row != null) { //Your code... } }
我与 Aspose 合作,担任开发人员传道者。