ImageGear for .NET
LookUp(Enum) Method
See Also  Example Send Feedback
ImageGear21.Core Assembly > ImageGear.Core Namespace > ImGearMetadataNodeList Class > LookUp Method : LookUp(Enum) Method




tag
Tag ID to search for.

Glossary Item Box

Searches the node list for a node which Tag is equal to the numerical value of the specified tag ID.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

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

C#Copy Code
ImGearMetadataTree rootTree = (ImGearMetadataTree)page.Metadata.Child;
ImGearMetadataNode node = rootTree.Children.LookUp(ImGearBMPTagIDs.BITCOUNT);
Visual BasicCopy Code
Dim rootTree As ImGearMetadataTree = igPage.Metadata.Child
Dim node As ImGearMetadataNode = rootTree.Children.LookUp(CInt(ImGearBMPTagIDs.BITCOUNT))

See Also

©2013. Accusoft Corporation. All Rights Reserved.