add pdf stream into worksheet

Dec 17, 2013 at 8:59 AM
Hi I have two pdf files. I want to add each pdf file into worksheet.

Is it possible?

Regards,
Alex
Coordinator
Jan 9, 2014 at 11:37 PM
Never heard that.... weird requirement.
Jul 17, 2014 at 7:44 AM
I met the same situation too,Dose NPOI have this function?I just saw addPicture,But I need to Add Object.

the tranditional way is :
            public void AddObj(string objPath, float incrementLeft, float incrementTop, float height)
    {
        try
        {
            OLEObjects objs = (OLEObjects)workSheet.OLEObjects(Type.Missing);

            OLEObject obj = objs.Add(Type.Missing, objPath, false, false, false, Type.Missing, Type.Missing, incrementLeft, incrementTop, 21, height);

            obj.ShapeRange.Height = height;

        }
        catch (Exception e)
        {
            this.KillExcelProcess();
            throw e;
        }
    }

How should I implement it by NPOI?
Coordinator
Jul 18, 2014 at 8:31 AM
I don't think it's supported.
Dec 9, 2016 at 1:59 PM
Is there any plans to support it in future releases?