This document is archived and information here might be outdated.  Recommended version.


IMapCacheStorageFormatConvertor.Compress Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapCacheStorageFormatConvertor Interface > IMapCacheStorageFormatConvertor.Compress Method
ArcGIS Developer Help

IMapCacheStorageFormatConvertor.Compress Method

The target cache location.

[Visual Basic .NET]
Public Sub Compress ( _
    ByVal numThreads As Integer, _
    ByVal LayerName As String, _
    ByVal pTrackCancel As ITrackCancel, _
    ByVal Overwrite As Boolean _
)
[C#]
public void Compress (
    int numThreads,
    string LayerName,
    ITrackCancel pTrackCancel,
    bool Overwrite
);
[C++]
HRESULT Compress(
  long numThreads,
  BSTR LayerName,
  ITrackCancel* pTrackCancel,
  VARIANT_BOOL Overwrite
);
[C++]
Parameters
numThreads [in]

numThreads is a parameter of type long LayerName [in]
LayerName is a parameter of type BSTR pTrackCancel [in]
pTrackCancel is a parameter of type ITrackCancel* Overwrite [in]
Overwrite is a parameter of type bool

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IMapCacheStorageFormatConvertor Interface