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





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

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

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

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 ZoomStep property is used as the minificaction factor when zooming.

Both the BeforeZoomChange and the 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