Accusoft.ImagXpress13.Net
ZoomFactor Property (ImageXView)




Gets and sets the zoom factor display for the current image.
Syntax
'Declaration
 
<BrowsableAttribute(True)>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)>
<DefaultValueAttribute()>
<DescriptionAttribute("The zooming factor for the image to be displayed at.")>
Public Property ZoomFactor As Double
'Usage
 
Dim instance As ImageXView
Dim value As Double
 
instance.ZoomFactor = value
 
value = instance.ZoomFactor
[Browsable(true)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
[DefaultValue()]
[Description("The zooming factor for the image to be displayed at.")]
public double ZoomFactor {get; set;}
[Browsable(true)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
[DefaultValue()]
[Description("The zooming factor for the image to be displayed at.")]
public: __property double get_ZoomFactor();
public: __property void set_ZoomFactor( 
   double value
);
[Browsable(true)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
[DefaultValue()]
[Description("The zooming factor for the image to be displayed at.")]
public:
property double ZoomFactor {
   double get();
   void set (    double value);
}

Property Value

A double value which represents the zoom for the display of the image.
Remarks

The default value is 1.

Values greater than 1 result in the display image being enlarged. For example, a ZoomFactor = 2 doubles the display image height and width.

Values less than 1 result in the display image being reduced. For example, a ZoomFactor = .5 reduces the display image height and width by 50.

Zooming has no effect on the stored image, the aspect ratio of the displayed image, or the aspect ratio of the image's pixels.

Note: If the AutoResize property is set to BestFit, FitWidth, FitHeight or ResizeImage, then the ZoomFactor property is read-only. In the case that the property is set to ResizeImage then the ZoomFactor will always return a -1.0 as there is no uniform ZoomFactor applied to the image.

See Also

Reference

ImageXView Class
ImageXView Members

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback