Changes

HotSpotting

47 bytes added, 08:14, 26 April 2022
/* How to enable Hotspotting in the UI */
==How to enable Hotspotting in the UI==
In order to enable the hotspotting feature in the newest Ubik4[[Version_4.0_(WinX)#4_0|4.0 release ]] you have to do the following.
Go to the UBIKDocumentArea.xaml and add the 'HotspotButtonVisibility="Visible"' line to the UBIKPdfViewer.
The <ctrls:UBIKPdfViewer> should look like the following:
<source lang = "xml">
<ctrls:UBIKPdfViewer
HotspotButtonVisibility="Visible" AutoSave="{Binding DataContext.ApplicationSettings.CurrentProfile.ContentSettings.AutoSaveMode, ElementName=pdfBorder}" ContentViewModel="{Binding Path=DataContext, ElementName=pdfBorder}" HotSpotTappedCommand="{Binding DataContext.HotSpotViewModel.HotSpotTappedCommand, ElementName=pdfBorder}" HotSpotTemplateSelector="{StaticResource DefaultHotSpotTemplateSelector}" PageChangedCommand="{Binding DataContext.HotSpotViewModel.PageChangedCommand, ElementName=pdfBorder}" />
</source>