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

IVideoExporterProperties.Codec Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > 3DAnalyst > ESRI.ArcGIS.Analyst3D > Interfaces > IV > IVideoExporterProperties Interface > IVideoExporterProperties.Codec Property
ArcGIS Developer Help

IVideoExporterProperties.Codec Property

The current video codec.

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

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

Product Availability

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


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