Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
LTDDocumentInterop - Document COM Interop (Deprecated)

The information on this topic has been deprecated as of LEADTOOLS v16.5.

The following table lists .NET document functions and provides cross-references to their COM counterparts:

.Net Syntax COM Interop Syntax Related Properties, Events
string[] GetFontNames() void IRasterDocumentCharacterOptions.GetFontNames() LTDInterop.IStringIndexProperty IRasterDocumentCharacterOptions.FontNames, Int32 IRasterDocumentCharacterOptions.FontNamesCount
LTDInterop.IStringIndexProperty IRasterDocumentCharacterOptions.FontNames Int32 IRasterDocumentCharacterOptions.FontNamesCount
Int32 IRasterDocumentCharacterOptions.FontNamesCount LTDInterop.IStringIndexProperty IRasterDocumentCharacterOptions.FontNames
void SetFontNames(string[] fontNames) void IRasterDocumentCharacterOptions.SetFontNames() LTDInterop.IStringIndexProperty IRasterDocumentCharacterOptions.FontNames, Int32 IRasterDocumentCharacterOptions.FontNamesCount
void Recognize(int startPage, int pageCount, RasterDocumentRecognizeStatusCallback statusCallback) void IRasterDocumentEngine.Recognize(Int32 startPage, Int32 pageCount) EnableEvent, DisableEvent, OnRecognizeStatus.
IList<RasterDocumentRecognizedCharacters> GetRecognizedCharacters(int pageIndex) void IRasterDocumentEngine.GetRecognizedCharacters(Int32 pageIndex) LTDDocumentInterop.IRasterDocumentRecognizedCharactersInterface IRasterDocumentEngine.RecognizedCharacters, Int32 IRasterDocumentEngine.RecognizedCharactersCount
LTDDocumentInterop.IRasterDocumentRecognizedCharactersInterface IRasterDocumentEngine.RecognizedCharacters Int32 IRasterDocumentEngine.RecognizedCharactersCount
Int32 IRasterDocumentEngine.RecognizedCharactersCount LTDDocumentInterop.IRasterDocumentRecognizedCharactersInterface IRasterDocumentEngine.RecognizedCharacters
void SetRecognizedCharacters(int pageIndex, IList<RasterDocumentRecognizedCharacters> characters) void IRasterDocumentEngine.SetRecognizedCharacters(Int32 pageIndex) LTDDocumentInterop.IRasterDocumentRecognizedCharactersInterface IRasterDocumentEngine.RecognizedCharacters, Int32 IRasterDocumentEngine.RecognizedCharactersCount
void DrawPage(IntPtr hdc, int pageIndex, Rectangle src, Rectangle srcClip, Rectangle dest, Rectangle destClip, RasterPaintProperties paintProperties) void IRasterDocumentEngine.DrawPage(Int32 hdc, Int32 pageIndex, LTDInterop.Rectangle src, LTDInterop.Rectangle srcClip, LTDInterop.Rectangle dest, LTDInterop.Rectangle destClip, LTDInterop.RasterPaintProperties paintProperties)
void SelectZoneByPoint(IntPtr hdc, int pageIndex, Point pt) void IRasterDocumentEngine.SelectZoneByPoint(Int32 hdc, Int32 pageIndex, LTDInterop.Point pt)
void SelectZone(IntPtr hdc, int pageIndex, int zoneIndex, bool select) void IRasterDocumentEngine.SelectZone(Int32 hdc, Int32 pageIndex, Int32 zoneIndex, Boolean select)
IList<RasterDocumentRecognizedWords> GetRecognizedWords(int pageIndex) void IRasterDocumentEngine.GetRecognizedWords(Int32 pageIndex) LTDDocumentInterop.IRasterDocumentRecognizedWordsInterface IRasterDocumentEngine.RecognizedWords, Int32 IRasterDocumentEngine.RecognizedWordsCount
LTDDocumentInterop.IRasterDocumentRecognizedWordsInterface IRasterDocumentEngine.RecognizedWords Int32 IRasterDocumentEngine.RecognizedWordsCount
Int32 IRasterDocumentEngine.RecognizedWordsCount LTDDocumentInterop.IRasterDocumentRecognizedWordsInterface IRasterDocumentEngine.RecognizedWords
string ObjectData LTDInterop.IByteIndexProperty IRasterDocumentEngine.ObjectData Int32 IRasterDocumentEngine.ObjectDataCount, OnProgress(e.ObjectData, e.RejectedCharacterCount, e.AcceptedCharacterCount, e.Percent, (LTDDocumentInterop.RasterDocumentProcessId)e.Id);
int ObjectDataLength Int32 IRasterDocumentEngine.ObjectDataCount LTDInterop.IByteIndexProperty IRasterDocumentEngine.ObjectData, void OnProgress(String objectData, Int32 rejectedCharacterCount, Int32 acceptedCharacterCount, Int32 percent, LTDDocumentInterop.RasterDocumentProcessId id); EnableEvent, DisableEvent.
public void SelectLanguages(RasterDocumentLanguage[] languages)

void IRasterDocumentEngine.SelectLanguages()
{
   this._theObject.SelectLanguages(_selectedLanguages);
}
LTDDocumentInterop.IRasterDocumentLanguageInterface IRasterDocumentEngine.DocumentSelectedLanguages, Int32 IRasterDocumentEngine.DocumentSelectedLanguagesCount
LTDDocumentInterop.IRasterDocumentLanguageInterface IRasterDocumentEngine.DocumentSelectedLanguages Int32 IRasterDocumentEngine.DocumentSelectedLanguagesCount
Int32 IRasterDocumentEngine.DocumentSelectedLanguagesCount LTDDocumentInterop.IRasterDocumentLanguageInterface IRasterDocumentEngine.DocumentSelectedLanguages
RasterDocumentLanguage[] DefaultSpellLanguages() void IRasterDocumentEngine.DefaultSpellLanguages() LTDDocumentInterop.IRasterDocumentLanguageInterface IRasterDocumentEngine.DefaultLanguages, Int32 IRasterDocumentEngine.DefaultLanguagesCount
LTDDocumentInterop.IRasterDocumentLanguageInterface IRasterDocumentEngine.DefaultLanguages Int32 IRasterDocumentEngine.DefaultLanguagesCount
Int32 IRasterDocumentEngine.DefaultLanguagesCount LTDDocumentInterop.IRasterDocumentLanguageInterface IRasterDocumentEngine.DefaultLanguages
RasterDocumentFormatType[] AvailableOutputFileFormats() void IRasterDocumentEngine.AvailableOutputFileFormats() LTDDocumentInterop.IRasterDocumentFormatTypeInterface IRasterDocumentEngine.OutputFileFormats, Int32 IRasterDocumentEngine.OutputFileFormatsCount
LTDDocumentInterop.IRasterDocumentFormatTypeInterface IRasterDocumentEngine.OutputFileFormats Int32 IRasterDocumentEngine.OutputFileFormatsCount
Int32 IRasterDocumentEngine.OutputFileFormatsCount LTDDocumentInterop.IRasterDocumentFormatTypeInterface IRasterDocumentEngine.OutputFileFormats
Size Dpi LTDInterop.ISizeInterface IRasterDocumentPageInfo.Dpi
Size Size LTDInterop.ISizeInterface IRasterDocumentPageInfo.Size

The following topics provide comparisons between COM functions and their .NET counterparts:

Programming With LEADTOOLS COM Interoperability Functions