- About AJAX Vector Objects
- Class Library Reference
- Aurigma.GraphicsMill.AjaxControls Namespace
- BaseControlConverter Class
- BaseScriptControl Class
- BaseViewer Class
- BitmapViewer Class
- BitmapViewer Members
- BitmapViewer Constructor
- BitmapViewer Fields
- BitmapViewer Methods
- BitmapViewer Properties
- ActualSizeHorizontalScale Property
- ActualSizeVerticalScale Property
- Bitmap Property
- BrowserImageFormat Property
- BrowserJpegQuality Property
- ContentHeight Property
- ContentWidth Property
- HasContent Property
- ImageLoadMode Property
- PreviewImageEnabled Property
- PreviewImageResizeRatio Property
- ScaleToActualSize Property
- SourceImageFilename Property
- SourceImageParams Property
- TileSize Property
- WorkspaceHeight Property
- WorkspaceWidth Property
- BitmapViewer Events
- BrowserImageFormat Enumeration
- CanvasViewer Class
- Common Class
- ConfigFactoryMethod Delegate
- Configuration Class
- ControlNotFoundException Class
- FileCache Class
- FileCacheTimeoutException Class
- ICallBackDataHandler Interface
- IConfiguration Interface
- IFileCache Interface
- ImageLoadMode Enumeration
- INavigator Interface
- IRubberband Interface
- IUserInputController Interface
- JqueryMode Enumeration
- LoggerFactoryMethod Delegate
- NavigatorConverter Class
- PanNavigator Class
- RectangleController Class
- RectangleEventArgs Class
- RectangleRubberband Class
- RemoteScriptingMethodAttribute Class
- RemoteScriptingNullReferenceException Class
- RemoteScriptingParameterCountException Class
- RemoteScriptingTypeNotSupportedException Class
- ResizeMode Enumeration
- RubberbandConverter Class
- ScrollBarsStyle Enumeration
- UserInputController Class
- ViewerClientSideOptions Class
- ViewportAlignment Enumeration
- VObjectsRubberband Class
- WorkspaceClickEventArgs Class
- ZoomInNavigator Class
- ZoomMode Enumeration
- ZoomOutNavigator Class
- ZoomQuality Enumeration
- ZoomRectangleNavigator Class
- Aurigma.GraphicsMill.AjaxControls.Logger Namespace
- Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.FileCache Namespace
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.FileStorage Namespace
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.Logger Namespace
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math Namespace
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.RedoUndo Namespace
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.Singleton Namespace
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.Svg Namespace
- GraphicsMill Namespace (Client Class Library)
- Aurigma.GraphicsMill.AjaxControls Namespace (Client Class Library)
- Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace (Client Class Library)
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math Namespace (Client Class Library)
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.RedoUndo Namespace (Client Class Library)
- Aurigma.GraphicsMill.AjaxControls Namespace
- Licensing
- Copyright Notices
BitmapViewer.ScaleToActualSize Property
Applies to: Graphics Mill Web Controls · Archived documentation
Get/sets a value that specifies whether to take into account the bitmap resolution (DPI) during displaying.
Namespace:
Aurigma.GraphicsMill.AjaxControls
Assembly:
Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
Syntax
public bool ScaleToActualSize { get; set; }
Property Value
The value that specifies whether to take into account the bitmap resolution (DPI) during displaying.Remarks
The BitmapViewer supports displaying image in its physical size. Actual physical size of the image is measured in metrical units (inches, centimeters) and depends on image resolution. To apply this functionality you should set ScaleToActualSize property to true. In this mode the control takes into account the resolution of the image, that allows you to display it in actual physical size when image resolution differs from monitor resolution. Also, this feature is useful for images with different vertical and horizontal resolutions, e.g. faxes.
When the ScaleToActualSize is true the BitmapViewer will resize the image in memory before displaying it. Therefore it may cause unnecessary performance overhead if you do not care about physical resolution. That is why we recommend to use this feature only when it is actually needed.