VintaSoft Imaging .NET SDK and Plug-ins Discussions
Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.
Board index < VintaSoft Imaging < VintaSoft Imaging .NET SDK and Plug-ins Discussions
...
using Vintasoft.Imaging;
using Vintasoft.Imaging.Annotation;
using Vintasoft.Imaging.Codecs.Encoders;
...
ImageCollection images = new ImageCollection();
images.Add(new MemoryStream(document.imagedata);
where imagedata is a byte array, I receive the following exception:
System.ComponentModel.LicenseException: A valid license cannot be granted for the type Vintasoft.Imaging.Codecs.Decoders.DecoderBase. Contact the manufacturer of the component for more information. at Vintasoft.Imaging.VintasoftLicenseProvider.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions) at System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License& license, String& licenseKey) at System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License& license, String& licenseKey) at System.ComponentModel.LicenseManager.Validate(Type type) at Vintasoft.Imaging.Codecs.Decoders.DecoderBase..ctor(Stream ) at Vintasoft.Imaging.Codecs.Decoders.TiffDecoder..ctor(Stream stream) at .5.CreateDecoder(Stream stream) at Vintasoft.Imaging.Codecs.AvailableCodecs.(Stream ) at .43.(Stream , Boolean , Boolean ) at .46.(Stream , Boolean , String ) at .46..ctor(Stream , Boolean ) at Vintasoft.Imaging.ImageCollection.Insert(Int32 index, Stream stream, Boolean closeStreamAfterUse) at Vintasoft.Imaging.ImageCollection.Add(Stream stream, Boolean closeStreamAfterUse)I am referencing Vintasoft.Imaging and Vintasoft.Imaging.Annotation in the solution. quick overview: What I'm trying to do here I'm already doing in a different form of the same solution with the same using statements.
Vintasoft.Imaging.Annotation.UI.AnnotationViewer, Vintasoft.Imaging.Annotation, Version=8.3.15.1, Culture=neutralwith a public key token as well.