Documentation Index
Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
Use this file to discover all available pages before exploring further.
This method modifies the current ImageDocument. All modifications defined by the ImageModification object are possible.
To perform modification, do the following:
- Create an ImageModification object with the help of the CreateImageModification method of the Engine object.
- Specify the necessary parameters.
- Call the Modify method with this object as an input parameter. The actual change takes place only when you call this method.
- Save the changes using the IImageDocument::SaveModified method.
Modifications to the image are not saved until the IImageDocument::SaveModified method is called. If the ImageDocument object is released before a call to this method, the modifications are not saved.
Syntax
C++
HRESULT Modify( IImageModification* Modification );
void Modify( IImageModification Modification );
Visual Basic .NET
Sub Modify(Modification As IImageModification)
Parameters
Modification
[in] This variable of the ImageModification type specifies the transformations that are to be performed upon the ImageDocument object.
Return values
This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.
All the information about the initial image will be lost after the method call.
This method applies modifications to the black-and-white, gray, and color image planes of the ImageDocument. All the other pages are deleted from the ImageDocument. They will be created upon demand.
See also
ImageModification