
## SevenZipLZMA2CompressionSettings class

Settings for LZMA2 compression method within 7z archive.

The SevenZipLZMA2CompressionSettings type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
|SevenZipLZMA2CompressionSettings(dictionary_size)|Initializes a new instance of the SevenZipLZMA2CompressionSettings class|
|SevenZipLZMA2CompressionSettings(dictionary_size, fast_bytes)|Initializes a new instance of the SevenZipLZMA2CompressionSettings class|
## Properties
| Name | Description |
| :- | :- |
|method|Gets compression or decompression method.|
|compression_threads|Gets or sets compression thread count. If the value is greater than 1, multithreading compression will be used.|
|dictionary_size|Dictionary (history buffer) size indicates how many bytes of the recently processed uncompressed data are kept in memory.|
|fast_bytes|Gets the control number of fast bytes used by the LZMA2 compressor.|

### See Also

* namespace [aspose.zip.saving](/zip/python-net/aspose.zip.saving/)
* assembly [Aspose.Zip](/zip/python-net/)

