Leadtools.Document Deprecated as of v16. Refer to: Leadtools.Forms.Ocr | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
GetUserDictionarySectionItem Method
See Also 
Leadtools.Document Namespace > RasterDocumentEngine Class : GetUserDictionarySectionItem Method



section
Name of the section of the User dictionary whose items are to be listed.
firstSection
Flag specifying which item to get.
section
Name of the section of the User dictionary whose items are to be listed.
firstSection
Flag specifying which item to get.
Gets section items from the specified section of the user dictionary.

Syntax

Visual Basic (Declaration) 
Public Function GetUserDictionarySectionItem( _
   ByVal section As String, _
   ByVal firstSection As Boolean _
) As RasterDocumentUserDictionaryItem
Visual Basic (Usage)Copy Code
Dim instance As RasterDocumentEngine
Dim section As String
Dim firstSection As Boolean
Dim value As RasterDocumentUserDictionaryItem
 
value = instance.GetUserDictionarySectionItem(section, firstSection)
C# 
public RasterDocumentUserDictionaryItem GetUserDictionarySectionItem( 
   string section,
   bool firstSection
)
C++/CLI 
public:
RasterDocumentUserDictionaryItem GetUserDictionarySectionItem( 
   String^ section,
   bool firstSection
) 

Parameters

section
Name of the section of the User dictionary whose items are to be listed.
firstSection
Flag specifying which item to get.

Return Value

A string that contains the section Item name.

Example

Refer to GetUserDictionarySection example.

Remarks

This method returns the item from the section of the User dictionary. Before calling this method, you must specifiy the item size. Call this method multiple times to get each of the items in a user dictionary section. The first time you call it, pass true for firstSection. In each subsequent call, pass false for firstSection parameter, and Leadtools will get the next item from the specified section. To re-start the process, call this method again, and pass true for firstSection.
The value of the RasterDocumentUserDictionaryItem.Attribute property will be updated after this method is called.
For more information, refer to Working with a Dictionary.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

The Leadtools.Document namespace is deprecated and no longer supported as of LEADTOOLS v16. For v16 and later, please refer to: Leadtools.Forms.Ocr. This documentation is retained for v15 and earlier informational use only.