LEADTOOLS Multimedia (Leadtools.Multimedia assembly)

Add(String,Int32) Method

Show in webframe





A String value representing the name of the new format.
Zero based index of the position to insert the format. A value of –1 appends to end of the collection.
Adds a TargetFormat item to the collection.
Syntax
public void Add( 
   string Name,
   int Index
)
'Declaration
 
Public Overloads Sub Add( _
   ByVal Name As String, _
   ByVal Index As Integer _
) 
'Usage
 
Dim instance As TargetFormats
Dim Name As String
Dim Index As Integer
 
instance.Add(Name, Index)

            

            
public:
void Add( 
   String^ Name,
   int Index
) 

Parameters

Name
A String value representing the name of the new format.
Index
Zero based index of the position to insert the format. A value of –1 appends to end of the collection.
Remarks
The user should retrieve the item's object to define the individual properties of the format. The user may not insert a format before a predefined (ReadOnly) format. Check the initial Count value to determine the end of the predefined list. If the method fails, an error is raised. For more information, refer to the Error Codes.
Example
Requirements

Target Platforms

See Also

Reference

TargetFormats Class
TargetFormats Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 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