LEADTOOLS Multimedia (Leadtools.Multimedia assembly)
LEAD Technologies, Inc

TargetFormat Property (MultiStreamTarget)






Gets or sets the target format accepted by the sample target object. By default, the value of this property is ltmmSampleTarget_TargetFormat_Undefined. If you assign a value to the TargetFormat property that matches your expected final output format, then only media types that are accepted by the assigned format will be allowed. The AcceptedMediaType values are still honored, however, only the parts of the AcceptedMediaType that are not specified (GUID_NULL) are compared with the TargetFormat. You can still force a pin to only accept a major type of Video, and have the rest depend on the target format, by simply assigning an AcceptedMediaType with only the major type of video defined.
Syntax
public TargetFormatType TargetFormat {get; set;}
'Declaration
 
Public Property TargetFormat As TargetFormatType
'Usage
 
Dim instance As MultiStreamTarget
Dim value As TargetFormatType
 
instance.TargetFormat = value
 
value = instance.TargetFormat
public TargetFormatType TargetFormat {get; set;}
 get_TargetFormat();
set_TargetFormat(value);
public:
property TargetFormatType TargetFormat {
   TargetFormatType get();
   void set (    TargetFormatType value);
}

Property Value

The target format accepted by the sample target object.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MultiStreamTarget Class
MultiStreamTarget Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Multimedia requires a Multimedia or Multimedia Suite license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features