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.26.0
Syntax public static EditorCommand InsertImage(
string source
)
Parameters
- source
- Type: SystemString
the value of the 'src' attribute of the IMG tag
Return Value
Type:
EditorCommandThe
EditorCommand instance.
Exceptions Exception | Condition |
---|
ArgumentException |
Thrown when the source is null, empty or contain only white
space.
|
See Also