VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Office.OpenXml.Editor Namespace / OpenXmlDocumentImage Class / SetImage Methods / SetImage(Stream) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
SetImage(Stream) Method (OpenXmlDocumentImage)
In This Topic
Sets the image.
Syntax
'Declaration

Public Overloads Sub SetImage( _
ByVal imageStream
The stream that contains image file.
As System.IO.Stream _
)
public void SetImage(
System.IO.Stream imageStream
)

Parameters

imageStream
The stream that contains image file.
Exceptions
ExceptionDescription
Thrown if imageStream is null.
Thrown if SDK cannot find decoder for image in imageStream.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also