Share via


WMEncProfile2.InterlaceMode

Windows Media Encoder SDK banner art

The InterlaceMode property specifies and retrieves a Boolean value indicating whether the video output will be interlaced.

Syntax

WMEncProfile2.InterlaceMode(iRenderSiteIndex) = Boolean
Boolean = WMEncProfile2.InterlaceMode(iRenderSiteIndex)

Parameters

iRenderSiteIndex

[in]  Integer containing the audience stream index. Because an audience can only contain one stream of each type, iRenderSiteIndex must be zero.

Property Value

A Boolean that indicates whether the output will be interlaced.

Example Code

' Create a WMEncProfile2 object.
  Dim Pro As WMEncProfile2
  Set Pro = New WMEncProfile2

' Load a custom profile. REPLACE THE FILE NAME.
  Pro.LoadFromFile "C:\Profiles\CustomProfile.prx"

' Determine whether interlaced processing is allowed.
  Dim bIntMode As Boolean
  bIntMode = Pro.InterlaceMode(0)

Requirements

Reference: Windows Media Encoder

Library: wmenc.exe

See Also