GdPicture12.WPF.ThumbnailEx

Discussions about document viewing.
Post Reply
abinmathew
Posts: 6
Joined: Wed Nov 23, 2016 6:10 pm

GdPicture12.WPF.ThumbnailEx

Post by abinmathew » Tue Dec 06, 2016 5:22 pm

I was evaluating GdPicture and i am getting the following exception when i use `GdPicture12.WPF.ThumbnailEx ` in XAML like below.

`Additional information: Layout measurement override of element 'GdPicture12.WPF.ThumbnailEx+ListViewEx+VirtualizingHorizontalTilePanel' should not return PositiveInfinity as its DesiredSize, even if Infinity is passed in as available size.`

Code: Select all

<Window x:Class="GDDemo.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:GDDemo"
        xmlns:GdP="clr-namespace:GdPicture12.WPF;assembly=GdPicture.NET.12"
       
        >
    <Window.DataContext>
        <local:GDVM/>
    </Window.DataContext>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="200"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Button Content="ShowMe" Command="{Binding ClickMeCommand}" Width="100" Height="30" ></Button>
        <GdP:GdViewer local:DocEditorEx.Source="{Binding DocList}" Grid.Row="1" Grid.Column="1" />
        <GdP:ThumbnailEx BorderThickness="3" HorizontalAlignment="Left" Margin="4" Name="thumbnailExWPF2" BorderBrush="Black" Width="150" Grid.Column="1" Background="LightGray"/>
    </Grid>
</Window>
I found the example given use the same way but i am not able to figure out what is the issue. any help ?

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: GdPicture12.WPF.ThumbnailEx

Post by Loïc » Wed Dec 07, 2016 5:57 pm

Hello,

This issue has been fixed in a recent update. You can get it from here: https://www.gdpicture.com/download-gdpicture/

With best regards,

Loïc

abinmathew
Posts: 6
Joined: Wed Nov 23, 2016 6:10 pm

Re: GdPicture12.WPF.ThumbnailEx

Post by abinmathew » Wed Dec 07, 2016 10:45 pm

Wow cool. Thanks for the quick reply.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest