ColorSpace always returns 0 Items

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF CoreSuite for .NET (v10)  /  ColorSpace always returns 0 Items

DynamicPDF CoreSuite for .NET (v10) Forum

 Jun 27 2020 5:08 PM
Hi,

I am trying to get a report on color spaces used in a pdf, but it is always returning 0 ColorSpaces
What am I doing wrong?
Here is my code

public class ResImportedPageArea : ImportedPageArea
        {
            public ResImportedPageArea(PdfPage pdfPage, float x, float y, float scale) : base(pdfPage, x, y, scale)
            {
                
            }
            public ResImportedPageArea(string filePath, int pageNumber, float x, float y, float scale) : base(filePath, pageNumber, x, y, scale)
            {

            }
            public override void Draw(PageWriter writer)
            {
                var spaces = writer.Resources.ColorSpaces;
                base.Draw(writer);
            }
        }
 Jun 29 2020 12:56 PM
Posted by a ceTe Software moderator
Hello,

DynamicPDF Core Suite does not support getting color space information from an existing PDF. We have added this feature to our wish list. We may include this in a future version of DynamicPDF product but please note that we do not have any exact time line on this.

Thanks,
ceTe Software Support Team

All times are US Eastern Standard time. The time now is 3:19 AM.