Replaces the image.

Namespace: Spire.Doc.Fields
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public void ReplaceImage(
	byte[] imageBytes,
	bool bIsKeepRation
)
Public Sub ReplaceImage ( 
	imageBytes As Byte(),
	bIsKeepRation As Boolean
)
public:
void ReplaceImage(
	array<unsigned char>^ imageBytes, 
	bool bIsKeepRation
)
member ReplaceImage : 
        imageBytes : byte[] * 
        bIsKeepRation : bool -> unit 

Parameters

imageBytes
array<Byte>[]()[][]
The image bytes.
bIsKeepRation
Boolean

See Also