VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing.Transforms Namespace / ImageScalingCommand Class / Scale Property
Syntax Exceptions Requirements SeeAlso
In This Topic
    Scale Property (ImageScalingCommand)
    In This Topic
    Gets or sets the image scale.
    Syntax
    'Declaration
    
    <DefaultValueAttribute(1)>
    <DescriptionAttribute("The image scale.")>
    <RefreshPropertiesAttribute(All)>
    Public Property Scale As Double
    
    
    [DefaultValue(1)]
    [Description("The image scale.")]
    [RefreshProperties(All)]
    public double Scale { get; set; }
    
    
    [DefaultValue(1)]
    [Description("The image scale.")]
    [RefreshProperties(All)]
    public: __property double get_Scale();
    public: __property void set_Scale(
    double value
    );
    [DefaultValue(1)]
    [Description("The image scale.")]
    [RefreshProperties(All)]
    public:
    property double Scale { double get(); void set(double value); }

    Property Value

    Default value is 1.
    Exceptions
    ExceptionDescription
    Thrown if value is less or equal to 0.
    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