示例#1
0
        public void ProcessImage(IOpenXmlContext context, string imagePath, DocxNode node, ref Paragraph para, Dictionary <string, object> properties)
        {
            DocxImage image    = new DocxImage(context);
            DocxNode  docxNode = GetImageNode(imagePath);

            docxNode.Parent = node.Parent;
            image.Process(docxNode, ref para, properties);
        }
示例#2
0
        public void ProcessImage(IOpenXmlContext context, string imagePath, DocxNode node, ref Paragraph para)
        {
            DocxImage image    = new DocxImage(context);
            DocxNode  docxNode = GetImageNode(imagePath);

            docxNode.Parent = node.Parent;
            image.Process(docxNode, ref para);
        }
示例#3
0
        public void ProcessImage(IOpenXmlContext context, string imagePath, DocxNode node)
        {
            ITextElement image    = new DocxImage(context);
            DocxNode     docxNode = GetImageNode(imagePath);

            docxNode.Parent = node.Parent;

            image.Process(docxNode);
        }