IdeaBlade DevForce 2010 Help Reference
Strategy Field
See Also  Send Feedback
IdeaBlade.Core Assembly > Ionic.Zlib Namespace > ZlibCodec Class : Strategy Field



The compression strategy to use.

Syntax

Visual Basic (Declaration) 
Public Strategy As CompressionStrategy
Visual Basic (Usage)Copy Code
Dim instance As ZlibCodec
Dim value As CompressionStrategy
 
value = instance.Strategy
 
instance.Strategy = value
C# 
public CompressionStrategy Strategy
C++/CLI 
public:
CompressionStrategy Strategy

Remarks

This is only effective in compression. The theory offered by ZLIB is that different strategies could potentially produce significant differences in compression behavior for different data sets. Unfortunately I don't have any good recommendations for how to set it differently. When I tested changing the strategy I got minimally different compression performance. It's best to leave this property alone if you don't have a good feel for it. Or, you may want to produce a test harness that runs through the different strategy options and evaluates them on different file types. If you do that, let me know your results.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.