代码之家  ›  专栏  ›  技术社区  ›  Rod

fx20中的itext pdf帮助

  •  0
  • Rod  · 技术社区  · 15 年前

    为什么下面的工作不行?

    phrase.AddAll(new ICollection<Chunk>[] { noteChunk, noteAttributeChunk });
    

    错误8无法将类型“ITextSharp.Text.Chunk”隐式转换为“System.Collections.Generic.ICollection”。

    只是好奇,

    棒。

    1 回复  |  直到 15 年前
        1
  •  0
  •   Klaus Byskov Pedersen    15 年前

    ICollection ICollection<Chunk>

    phrase.AddAll(new Chunk[] { noteChunk, noteAttributeChunk });