Accusoft.ImagXpress13.Net
AutoResize Property




Gets and sets how the image is sized and positioned for display when painted.
Syntax
'Declaration
 
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)>
<BrowsableAttribute(True)>
<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
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
[Browsable(true)]
[DefaultValue()]
[Description("Determines the method of viewing/sizing of the image to the control.")]
public AutoResizeType AutoResize {get; set;}
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
[Browsable(true)]
[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
);
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
[Browsable(true)]
[DefaultValue()]
[Description("Determines the method of viewing/sizing of the image to the control.")]
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

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback