Script(s)

what I learn is what u c

Atalasoft WebImageViewer (aka) AJAX Thin Client Viewer

with one comment

When using Atalasoft Thin Client Viewer use the following basic settings.

PreCacheing to ALWAYS has some issues so its better not to use it.
Me.WebImageViewerMain.PreCacheTiles = PreCacheMode.Never

Opens the first page in Viewer
Me
.WebImageViewerMain.OpenUrl(Server.Mappath(“.”) & “\Sample.tif”, 0)

‘Setting the AntialiasDisplay
Me.WebImageViewerMain.AntialiasDisplay = AntialiasDisplayMode.ScaleToGray

If you have tiff images of size 8.5″ x 11.0″ or greater setting up the AntialiasDisplay to anything other than NONE chews memory but its worth it if used along with AutoZoom

‘Loading the page as FitToWidth
Me.WebImageViewerMain.AutoZoom = AutoZoomMode.FitToWidth

PS : If Autozoom is not used then AntialiasDisplay can be set to None.

Advertisements

Written by gchandra

August 23, 2006 at 11:35 am

One Response

Subscribe to comments with RSS.

  1. Hello gchandra,

    I am the lead developer of Atalasoft’s AJAX controls, WebImageViewer included. I am curious what problems you ran into using PreCacheTiles. Currently there are a couple of known issues:

    1. You can’t use PreCacheTiles and Undo/Redo
    2. Using AntialiasDisplayModes other than none will cause the control to cache all 1:1 non-zoomed tiles, and then request new tiles if the zoom of the viewer changes (including AutoZoom)

    We are working on fixing both of these, are either of them the behavior you ran into?

    David Cilley

    August 24, 2006 at 10:26 am


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: