VintaSoft Imaging .NET SDK 14.1: Documentation for .NET developer
Vintasoft.Imaging.Codecs.Decoders Namespace / SvgRenderingSettings Class / DefaultImageSize Property
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
    DefaultImageSize Property (SvgRenderingSettings)
    In This Topic
    Gets or sets the default image size in Vintasoft.Imaging.UnitOfMeasure.Pixels.
    Syntax
    'Declaration
    
    <DescriptionAttribute("The default image size.")>
    Public Property DefaultImageSize As Vintasoft.Primitives.VintasoftSizeI
    
    
    [Description("The default image size.")]
    public Vintasoft.Primitives.VintasoftSizeI DefaultImageSize { get; set; }
    
    
    [Description("The default image size.")]
    public: __property Vintasoft.Primitives.VintasoftSizeI get_DefaultImageSize();
    public: __property void set_DefaultImageSize(
    Vintasoft.Primitives.VintasoftSizeI value
    );
    [Description("The default image size.")]
    public:
    property Vintasoft.Primitives.VintasoftSizeI DefaultImageSize { Vintasoft.Primitives.VintasoftSizeI get(); void set(Vintasoft.Primitives.VintasoftSizeI value); }

    Property Value

    Default value is 100x100.
    Exceptions
    ExceptionDescription
    Thrown if image size is not correct.
    Remarks

    This property is used if SVG image does not have size or size is specified in percents.

    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