GdPicture.NET.14
GdPicture14 Namespace / GdViewer Class / ZoomIN Method





In This Topic
ZoomIN Method (GdViewer)
In This Topic
Increases the current zoom level, it means zooms in on the control. You can use GdViewer.ZoomStep property to determine or to reset the currently used zoom step.

This method sets the GdViewer.ZoomMode property to ViewerZoomMode.ZoomModeCustom and refreshes the control as well.

Syntax
'Declaration
 
Public Function ZoomIN() As GdPictureStatus
public GdPictureStatus ZoomIN()
public function ZoomIN(): GdPictureStatus; 
public function ZoomIN() : GdPictureStatus;
public: GdPictureStatus ZoomIN(); 
public:
GdPictureStatus ZoomIN(); 

Return Value

A member of the GdPictureStatus enumeration. If the method has been successfully followed, then the return value is GdPictureStatus.OK. We strongly recommend always checking this status first.
Remarks
The value of the GdViewer.ZoomStep property is used as the magnification factor when zooming.

Both the GdViewer.BeforeZoomChange and the GdViewer.AfterZoomChange events are raised using this method.

Example
Please try the Document Viewer Sample here to find out, how to utilize zooming features in your application.
See Also