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


IVideoExporterProperties.Codec Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (3DAnalyst)  

IVideoExporterProperties.Codec Property

The current video codec.

[Visual Basic .NET]
Public Property Codec As String
[C#]
public string Codec {get; set;}
[C++]
HRESULT get_Codec(
  BSTR* pCodecName
);
[C++]
HRESULT put_Codec(
  BSTR pCodecName
);
[C++]

Parameters pCodecName [out, retval] pCodecName is a parameter of type BSTR pCodecName [in] pCodecName is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Remarks

The Codec property is an identifier showing what the current codec is used when exporting to a video format.  When you check for the Codec property, be it an AVI or QuickTime video, it's always in Code:Codec format, where the Code is a four-letter string that uniquely identifies a particular codec.  The codec name proper (i.e. the codec name without the four-letter code name and the colon in front), however, may not be unique in some situations.  For some AVI codecs, the name proper could even be blank.  In this scenario the only identifier for that codec would be the four-letter code.  Some codec code names (i.e. the four-letter string) may appear as three-letter codes - the fourth one is just a blank space, which is also a valid character.  All the four-letter code names are not case sensitive.

See Also

IVideoExporterProperties Interface