ScaleDocumentViewer and ScaleDocumentViewerMouseBehavior

Apr 9, 2014 at 6:17 AM
Hello ,
I download document toolkit extension and I want to run it,
but when I try to build project,I got error:
Error 1 The type or namespace name 'ScaleDocumentViewer' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Morsali\Downloads\Compressed\Document Toolkit Extensions 2.5.2.0\2.5\Document Toolkit Extensions\Applications\SampleBrowser\obj\Debug\Views\SampleDeepZoomViewer.g.i.cs 44 18 SampleBrowser


Error 2 The type or namespace name 'ScaleDocumentViewerMouseBehavior' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Morsali\Downloads\Compressed\Document Toolkit Extensions 2.5.2.0\2.5\Document Toolkit Extensions\Applications\SampleBrowser\obj\Debug\Views\SampleDeepZoomViewer.g.i.cs 46 18 SampleBrowser
what is wrong with this problem? how to solve this? thank you
Coordinator
Apr 9, 2014 at 10:18 AM
The ScaleDocumentViewer is available in the http://schemas.firstfloorsoftware.com/documenttoolkit/extensions namespace. Declare and use it as follows:
<Page ...
  xmlns:ext="http://schemas.firstfloorsoftware.com/documenttoolkit/extensions"
    <ext:ScaleDocumentViewer />
</Page>