Accusoft.ImagXpress13.Net
AutoResize Property




Gets and sets how the image is sized and positioned for display when painted.
Syntax
'Declaration
 
<DescriptionAttribute("Determines the method of viewing/sizing of the image to the control.")>
<DefaultValueAttribute()>
<BrowsableAttribute(True)>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)>
Public Property AutoResize As AutoResizeType
'Usage
 
Dim instance As ImageXView
Dim value As AutoResizeType
 
instance.AutoResize = value
 
value = instance.AutoResize
[Description("Determines the method of viewing/sizing of the image to the control.")]
[DefaultValue()]
[Browsable(true)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
public AutoResizeType AutoResize {get; set;}
[Description("Determines the method of viewing/sizing of the image to the control.")]
[DefaultValue()]
[Browsable(true)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
public: __property AutoResizeType get_AutoResize();
public: __property void set_AutoResize( 
   AutoResizeType value
);
[Description("Determines the method of viewing/sizing of the image to the control.")]
[DefaultValue()]
[Browsable(true)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
public:
property AutoResizeType AutoResize {
   AutoResizeType get();
   void set (    AutoResizeType value);
}

Property Value

The AutoResizeType set.
Remarks

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.

See Also

Reference

ImageXView Class
ImageXView Members

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback