OnLoadExtImage Event

[Top]  [Chapter]  [Previous]  [Next]

Declaration C#

OnLoadExtImage(Object Sender, int Editor, string LoadPath, string URL, IWPTextObj TextObj, ref bool Ok);


Declaration OCX

OnLoadExtImage(ByVal Editor As Long, ByVal LoadPath As String, ByVal URL As String, ByVal TextObj As WPTDynInt.IWPTextObj, OK As Boolean)


This event is triggered during text loading. If images are not imbedded but linked (only a name is in the file) this event can be used to load the image from a directory or data base.

When you load the image in your code set the variable OK to true - then the default code will be skipped (it tries to locate the image data in the same directory as the loaded file).

To load an image use the interface TextObj.

[idh_wpdllint_onloadextimage.htm]    Copyright © 2007 by WPCubed GmbH