OnBeforeSaveImage Event

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

Declaration C#

OnBeforeSaveImage(Object Sender, int Editor, IWPTextWriter Writer, IWPTextObj TextObject, ref bool DontSave)

 

Declaration OCX

OnBeforeSaveImage(ByVal Editor As Long, ByVal Writer As WPTDynInt.IWPTextWriter, ByVal TextObject As WPTDynInt.IWPTextObj, DontSave As Boolean)

 

This event allows it to change the properties of an object before it is saved. You can for example update the contents or the file name property.

Parameters

Editor

This is the number of the editor which is triggering the event.

Writer

The interface IWPTextWriter let you examine the current writing mode and path.

TextObject

The interface IWPTextObj gives you access to the object properties.

DontSave

If this variable is changed to "true" the object will not be saved.

Category

Image Support


[idh_wpdllint_onbeforesaveimage.htm]    Copyright © 2007 by WPCubed GmbH