Accusoft.ImagXpressSdk Namespace > ImageXView Class : AutoResize Property |
'Declaration <BrowsableAttribute(True)> <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)> <DefaultValueAttribute()> <DescriptionAttribute("Determines the method of viewing/sizing of the image to the control.")> Public Property AutoResize As AutoResizeType
'Usage Dim instance As ImageXView Dim value As AutoResizeType instance.AutoResize = value value = instance.AutoResize
[Browsable(true)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] [DefaultValue()] [Description("Determines the method of viewing/sizing of the image to the control.")] public AutoResizeType AutoResize {get; set;}
[Browsable(true)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] [DefaultValue()] [Description("Determines the method of viewing/sizing of the image to the control.")] public: __property AutoResizeType get_AutoResize(); public: __property void set_AutoResize( AutoResizeType value );
[Browsable(true)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] [DefaultValue()] [Description("Determines the method of viewing/sizing of the image to the control.")] public: property AutoResizeType AutoResize { AutoResizeType get(); void set ( AutoResizeType value); }
The default value is AutoResizeType.CropImage (5).
See the maximum and minimum for the range of dimensions that the control can be resized to when AutoSize specifies that the control should be resized to fit the image.
Note: AutoResize changes how the image is displayed. The image itself is not modified. To modify the image, see the Processor.Resize method. If the AutoResize property is set to BestFit, FitWidth, FitHeight or ResizeImage, then the ZoomFactor property becomes read-only.