VintaSoft Barcode .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Barcode.SkiaSharp Namespace / SkiaSharpImageCodecs Class / PngCompressionLevel Property
Syntax Requirements SeeAlso
In This Topic
    PngCompressionLevel Property (SkiaSharpImageCodecs)
    In This Topic
    Gets or sets the compression level for PNG image.
    Syntax
    'Declaration
    
    Public Property PngCompressionLevel As Integer
    
    
    public int PngCompressionLevel { get; set; }
    
    
    public: __property int get_PngCompressionLevel();
    public: __property void set_PngCompressionLevel(
    int value
    );
    public:
    property int PngCompressionLevel { int get(); void set(int value); }

    Property Value

    Possible values: from 0 to 9.
    0 - no compression, 1 - best speed, 9 - best compression.
    Default value is 6.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7

    See Also