GdPicture.NET.14
GdPicture14 Namespace / GdViewer Class / MagnifierHeight Property
Example





MagnifierHeight Property (GdViewer)
Gets or sets the height, in pixels, of the magnifier tool used in the GdViever control. You can enable the use of the magnifier tool in your application by setting the GdViewer.MouseMode property to ViewerMouseMode.MouseModeMagnifier.
Syntax
'Declaration
 
Public Property MagnifierHeight As Integer
 

Property Value

The default value is 90.
Remarks
Please try the Document Viewer Sample here to find out, how to utilize the magnifier tool in your application.
Example
How to change the magnifier properties.
'We assume that the GdViewer1 control has been properly integrated.
GdViewer1.MagnifierHeight = 120
GdViewer1.MagnifierWidth = 200
GdViewer1.MagnifierZoomX = 1.5F
GdViewer1.MagnifierZoomY = 1.5F
GdViewer1.MouseMode = ViewerMouseMode.MouseModeMagnifier
See Also