CurrentYScaleFactor Property

Summary

Gets or sets the current vertical scale factor for the image display.

Syntax

C#
C++/CLI
C++
public virtual double CurrentYScaleFactor { get; set; } 
[BrowsableAttribute(false)] 
public: 
virtual property double CurrentYScaleFactor { 
   double get(); 
   void set (    double ); 
} 
public:  
   virtual property double CurrentYScaleFactor 
   { 
      double get() 
      void set(double value) 
   } 

Property Value

The current vertical scale factor.

Example

C#
using Leadtools.WinForms; 
using Leadtools; 
using Leadtools.Codecs; 
using Leadtools.ImageProcessing.Color; 
using Leadtools.Drawing; 
 
public void RasterImageViewer_ScaleFactor(RasterImageViewer viewer) 
{ 
   viewer.ScaleFactor = viewer.ScaleFactor * 0.9f; 
   string s = string.Format("CurrentXScaleFactor {0}, CurrentYScaleFactor {1}", viewer.CurrentXScaleFactor, viewer.CurrentYScaleFactor); 
   MessageBox.Show(s); 
} 

Requirements

Target Platforms

See Also

Reference

RasterImageViewer Class

RasterImageViewer Members

Help Version 22.0.2023.2.9
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.WinForms Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.