none
problem load big image in canvas/elementhost RRS feed

  • Pregunta

  • Hi, I have an elementhost where I load a canvas, the problem is that when I put in canvas images of 4000x6000px then when elementhost show the xaml some areas are in black. This is part of the code:

    System.Windows.Controls.Canvas canvas = null;
    canvas = ProcesarElementos(
    this.item.XAML);
    ele = canvas;
    res = new System.Drawing.Size((int)ele.Width, (int)ele.Height);
    this.wpf_Visor.Child = ele;
    this.item.Elemento = ele;

    some idea that why is doing this?

    B.R,

    miércoles, 14 de julio de 2010 10:49