LEADTOOLS JPEG 2000 (Leadtools.Jpip.Client.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Zoom Method
See Also 
Leadtools.Jpip.Client.WinForms Namespace > JpipRasterImageViewer Class : Zoom Method



size
The desired size of the image after zooming.

The Zoom Method includes members that are available as an add-on to the LEADTOOLS Imaging Pro, Document, and Medical Imaging toolkits.

size
The desired size of the image after zooming.
Zooms in or out to any desired size.

Syntax

Visual Basic (Declaration) 
Public Sub Zoom( _
   ByVal size As LeadSize _
) 
Visual Basic (Usage)Copy Code
Dim instance As JpipRasterImageViewer
Dim size As LeadSize
 
instance.Zoom(size)
C# 
public void Zoom( 
   LeadSize size
)
C++/CLI 
public:
void Zoom( 
   LeadSize size
) 

Parameters

size
The desired size of the image after zooming.

Example

This example calls this function to zoom to the 3rd resolution. For an example, refer to JpipRasterImageViewer.

Remarks

Size can have any value: the JpipRasterImageViewer will find the best resolution that fits this size and then load, decode and paint the image.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Jpip.Client.WinForms requires a JPIP Module and a server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features