MagnifierWidth Property (GdViewer)
Gets or sets the width, 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
MouseMode property to ViewerMouseMode.MouseModeMagnifier.
public double MagnifierWidth {get; set;}
public read-write property MagnifierWidth: Double;
public function get,set MagnifierWidth : double
public: __property double get_MagnifierWidth();
public: __property void set_MagnifierWidth(
double value
);
public:
property double MagnifierWidth {
double get();
void set ( double value);
}
'Declaration
Public Property MagnifierWidth As Double
Property Value
The default value is 160.
How to change the magnifier properties.
'We assume that the GdViewer1 control has been properly integrated.
GdViewer1.MagnifierHeight = 120
GdViewer1.MagnifierWidth = 200
GdViewer1.MagnifierZoom = 1.5F
GdViewer1.MouseMode = ViewerMouseMode.MouseModeMagnifier
//We assume that the GdViewer1 control has been properly integrated.
GdViewer1.MagnifierHeight = 120;
GdViewer1.MagnifierWidth = 200;
GdViewer1.MagnifierZoom = 1.5f;
GdViewer1.MouseMode = ViewerMouseMode.MouseModeMagnifier;