Gets the current horizontal scaling factor for the image display.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Overridable ReadOnly Property HorizontalScaleFactor As Double |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As BitmapSourceViewer
Dim value As Double
value = instance.HorizontalScaleFactor
|
| C# | |
|---|
public virtual double HorizontalScaleFactor {get;} |
| Managed Extensions for C++ | |
|---|
public: __property virtual double get_HorizontalScaleFactor(); |
| C++/CLI | |
|---|
public:
virtual property double HorizontalScaleFactor {
double get();
} |
Return Value
The current horizontal scaling factor.
Example
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family
See Also