Image Viewer CP ActiveX Control

GetScaleX

 

Return the zoom width scale of image.

Public Function GetScaleX (
) As double

 

No Parameter

Return Value

Return the zoom width scale of image.


Example

   

Visual Basic Syntax
ImageViewer1.FileName="c:\test.jpg"
ImageViewer1.View =5
iX = ImageViewer1.GetScaleX
iY = ImageViewer1.GetScaleY