The Xceed Compression control provides the following methods for compressing and decompressing data entirely in memory. Each method's behavior is determined by the values of the Xceed Compression control's properties. The "Applicable properties" section in the documentation for each method lists the properties that are used by that method. Mainly, you will want to consult the properties if you are encrypting your data, or if you want to change the compression factor.
The methods listed below provide a return value that indicates if the operation was successful or if a warning or error has occurred. A properly coded application always checks, at the very least, to make sure the operation was successful. See the Error codes topic for a list of possible return values for these methods.