我尝试在scatterviewItem中集成pdfcontrol [英] I try to integrate pdfcontrol in scatterviewItem

查看:67
本文介绍了我尝试在scatterviewItem中集成pdfcontrol的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello



我有一个 用户控件
显示 pdf,
这通常正常
wpf 项目 i
我正在尝试 将其整合到
scatterviewitem 我看不到
pdf,
但我希望 知道 c颂歌是正确的
;
为什么
scatterviewitem 无法显示
控件然后 pdf

Hello,

I have a user control that displays the pdf, this is normally workingin wpf project,i am trying to integrate it into scatterviewitem,do not I see the pdf, but I would like to know if the code is correct ;
why do scatterviewitem fails to show the control and then the pdf?

非常感谢:)

Many thanks :)

 private void InitDoc()
        {
            PdfControl pdfbook = new PdfControl 
            { DocSource = (string) @"C:\Pdf\pro.pdf" };
            var svi = new ScatterViewItem(); 
            svi.Content = pdfbook;
            svi.Width = 800;
            svi.Height = 800;
            MainScatterView.Items.Add(svi);
           
        }

www.Photoballot.net

www.Photoballot.net

推荐答案

您好,

根据您的代码示例,我无法理解为什么它无法正常工作。如果你把你的项目邮寄给我,我可以仔细看看。

Based on your code sample I can not see why it is not working. I could take a more close look at it if you mail me your project.

你可以通过info @ semper-it.nl与我联系

You can reach me at info @ semper-it.nl

亲切的问候,

Roy

Kind regards,
Roy


这篇关于我尝试在scatterviewItem中集成pdfcontrol的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆