skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class LzmaSettings

Configures LZMA compression parameters (dictionary, context, position, fast bytes, match finder) for fine‑grained ratio and performance tuning.

Inheritance
System.Object
CompressionSettings
LzmaSettings
Inherited Members
CompressionSettings.OnPropertyChanged(String)
CompressionSettings.Method
CompressionSettings.PropertyChanged
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Zip
Assembly: Telerik.Windows.Zip.dll

Syntax

public class LzmaSettings : CompressionSettings, INotifyPropertyChanged

Constructors

LzmaSettings()

Creates an LZMA settings instance with defaults optimized for balanced speed and compression (8MB dictionary, BT4 match finder).

Declaration
public LzmaSettings()

Properties

DictionarySize

Gets or sets the base-2 exponent for the dictionary size (0–27), controlling memory usage; 23 (8MB) by default.

Declaration
public int DictionarySize { get; set; }
Property Value
System.Int32

FastBytes

Gets or sets the number of fast bytes (5–273) scanned for matches before fallback; higher may improve ratio but costs speed (default 32).

Declaration
public int FastBytes { get; set; }
Property Value
System.Int32

LiteralContextBits

Gets or sets literal context bits (0–8) influencing prediction based on preceding bytes; default is 3.

Declaration
public int LiteralContextBits { get; set; }
Property Value
System.Int32

LiteralPositionBits

Gets or sets literal position bits (0–4) refining modeling by low address bits; default is 0.

Declaration
public int LiteralPositionBits { get; set; }
Property Value
System.Int32

MatchFinderType

Gets or sets the match finder algorithm variant determining hash granularity.

Declaration
public LzmaMatchFinderType MatchFinderType { get; set; }
Property Value
LzmaMatchFinderType

PositionStateBits

Gets or sets the number of position state bits (0–4) affecting literal/match modeling; default is 2.

Declaration
public int PositionStateBits { get; set; }
Property Value
System.Int32

StreamLength

Gets or sets the known uncompressed length for single standalone streams (not ZIP); -1 forces end marker emission.

Declaration
public long StreamLength { get; set; }
Property Value
System.Int64

Getting Started
  • Getting Started
Support Resources
  • Documentation
Community
  • Forums
  • Blogs
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.