Sets the image from an existing image file stream.

Namespace: ININ.IceLib.Configuration
Assembly: ININ.IceLib.Configuration (in ININ.IceLib.Configuration.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public void SetImage(
	Stream imageStream
)
Visual Basic
Public Sub SetImage ( _
	imageStream As Stream _
)

Parameters

imageStream
Type: System.IO..::..Stream
The image stream.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionThe image stream is nullNothingnullptra null reference (Nothing in Visual Basic).
System..::..InvalidOperationExceptionThe image resource is currently not editable, or the image stream cannot be read.

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 SU 3 and beyond.

See Also