Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Layer Handling

Help
2012-09-18
2013-01-26
  • Andreas Pinter
    Andreas Pinter
    2012-09-18

    Hi,

    Your  LayerCreatingSample failes in .NET with the following exception:

    {"Cannot convert type \"org.pdfclown.documents.contents.PropertyListResources\" to \"org.pdfclown.documents.contents.ResourceItems`1[org.pdfclown.documents.contents.layers.LayerMembership]\""}
    

    located in Resources.cs.Get<T>().

    I havn't tried to fix it yet, but it seems as if this error is based on different handling of covariance and contravariance in java and .NET.

    Greetings
    - Andreas