Click or drag to resize

EditorCommandInsertImage Method

Returns a command that allows inserting an image with the given source in a WYSIWYG editor. If the source points to an invalid location, then image won't be inserted.

Namespace:  DotNetBrowser.Frames
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.27.3
Syntax
C#
public static EditorCommand InsertImage(
	string source
)

Parameters

source
Type: SystemString
the value of the 'src' attribute of the IMG tag

Return Value

Type: EditorCommand
The EditorCommand instance.
Exceptions
ExceptionCondition
ArgumentException Thrown when the source is null, empty or contain only white space.
See Also