ImageGear for .NET
LookUp(Enum) Method
Example 




Tag ID to search for.
Searches the node list for a node which Tag is equal to the numerical value of the specified tag ID.
Syntax
'Declaration
 
Public Overloads Function LookUp( _
   ByVal tag As Enum _
) As ImGearMetadataNode
'Usage
 
Dim instance As ImGearMetadataNodeList
Dim tag As Enum
Dim value As ImGearMetadataNode
 
value = instance.LookUp(tag)
public ImGearMetadataNode LookUp( 
   Enum tag
)
public: ImGearMetadataNode* LookUp( 
   Enum* tag
) 
public:
ImGearMetadataNode^ LookUp( 
   Enum^ tag
) 

Parameters

tag
Tag ID to search for.

Return Value

ImGearMetadataNode class object.
Remarks
If the list contains several nodes with this tag ID, method returns the first record. If a node is not present, the method returns null.

The method does not search in the subtrees of the node list.

Example
ImGearMetadataTree rootTree = (ImGearMetadataTree)page.Metadata.Child;
ImGearMetadataNode node = rootTree.Children.LookUp(ImGearBMPTagIDs.BITCOUNT);
Dim rootTree As ImGearMetadataTree = igPage.Metadata.Child
Dim node As ImGearMetadataNode = rootTree.Children.LookUp(CInt(ImGearBMPTagIDs.BITCOUNT))
See Also

Reference

ImGearMetadataNodeList Class
ImGearMetadataNodeList Members
Overload List

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback