Extended help file .gif file won't playing

Extended help file .gif file won't playing

Anonymous
Not applicable
1,245 Views
3 Replies
Message 1 of 4

Extended help file .gif file won't playing

Anonymous
Not applicable

Hello everyone

 

I've been working on that extended help file. Of course I'm using the .xaml file mainly. And I'm using .gif file as image source. But when I seeing that extended file on AutoCAD it only shows first picture of .gif file. And won't play the animation. Is there any solution for this. Xaml code is down below and I attached the .gif file.

 

<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:src="clr-namespace:Autodesk.Windows;assembly=AdWindows">
<src:RibbonToolTip x:Key="MYEH_CMD_0003">
<src:RibbonToolTip.ExpandedContent>
<StackPanel>
<TextBlock TextAlignment="Justify">
<Run Text="Too" Foreground="Red"/>
- Offset хийгдэх нийт зай болон алгаслыг нь ашиглан offset хийх
</TextBlock>
<TextBlock TextAlignment="Justify">
<Run Text="Urt" Foreground="Red"/>
- Offset хийгдэх тоо болон алгаслыг нь ашиглан offset хийх
</TextBlock>
<TextBlock TextAlignment="Justify">
<Run Text="Algasal" Foreground="Red"/>
- Offset хийгдэх нийт зай болон тоог нь ашиглан offset хийх
</TextBlock>
<Image Source="muo.gif" Width="Auto" Height="Auto">
</Image>
</StackPanel>
</src:RibbonToolTip.ExpandedContent>
</src:RibbonToolTip>
</ResourceDictionary>

 

Thanks for advice

Sincerely, 

Enkhtaivan Temuulen

New Mongol Kosen 

0 Likes
1,246 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable

Hi Temuulen,

 

Do you found a solution for it?

I encounter the same problem with gif files.

I'm trying to build an help file for AutoCAD/Civil 3D 2020.

Thank you.

0 Likes
Message 3 of 4

Anonymous
Not applicable

There is actually a help section for 2016 version of the software founded here: http://help.autodesk.com/view/ACDLT/2016/ENU/?guid=GUID-685FC42D-8125-4A3C-B13B-55B346F012F8

and also here: http://help.autodesk.com/view/ACDLT/2016/ENU/?guid=GUID-0DBFCEE4-2C57-4711-849D-9BE271495CA1 but this is only for *.jpeg file.

To be able to load a gif in xaml there are some instruction here: https://github.com/XamlAnimatedGif/WpfAnimatedGif

 <Image gif:ImageBehavior.AnimatedSource="Images/animated.gif" />
        <Image gif:ImageBehavior.RepeatBehavior="3x"
               gif:ImageBehavior.AnimatedSource="Images/animated.gif" />

 I try using this code and inserting this at the beginning of the file: 

xmlns:gif="http://wpfanimatedgif.codeplex.com"

The result is that is displaying as a picture, not as a gif (animated) file.

Maybe someone with a deep understanding can help.

Thank you.

 

0 Likes
Message 4 of 4

Anonymous
Not applicable
  • Ran into exactly same issue and I want a solution. 
0 Likes