Chinese Simplified (简体中文)

Modify Method of the ImageDocument Object

This method modifies the current ImageDocument. All modifications defined by the ImageModification object are possible.

Important! All blocks must be removed from page layout before this method call. Call the ILayoutBlocks::DeleteAll method for each of the ILayout::Blocks, ILayout::BlackSeparators, ILayout::VisualBlocks collections of the corresponding layout.

Syntax

C++

HRESULT Modify( IImageModification* Modification );
    

C#

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.

Remarks

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

24.03.2023 8:51:52

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.