VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.UI Namespace / ImageViewer Class / SizeMode Property
Syntax Requirements SeeAlso
In This Topic
    SizeMode Property (ImageViewer)
    In This Topic
    Gets or sets a value that specifies how an image is positioned within the viewer.
    Syntax
    'Declaration
    
    <DefaultValueAttribute(Normal)>
    <DescriptionAttribute("A value that specifies how an image is positioned within the viewer.")>
    <CategoryAttribute("VintaSoft")>
    Public Overridable Property SizeMode As ImageSizeMode
    
    
    [DefaultValue(Normal)]
    [Description("A value that specifies how an image is positioned within the viewer.")]
    [Category("VintaSoft")]
    public virtual ImageSizeMode SizeMode { get; set; }
    
    
    [DefaultValue(Normal)]
    [Description("A value that specifies how an image is positioned within the viewer.")]
    [Category("VintaSoft")]
    public: __property virtual ImageSizeMode get_SizeMode();
    public: __property virtual void set_SizeMode(
    ImageSizeMode value
    );
    [DefaultValue(Normal)]
    [Description("A value that specifies how an image is positioned within the viewer.")]
    [Category("VintaSoft")]
    public:
    virtual property ImageSizeMode SizeMode { ImageSizeMode get(); void set(ImageSizeMode value); }

    Property Value

    Default value is ImageSizeMode.Normal.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also