Wiki Markup |
---|
{description} {excerpt}Inserts and returns an [InlineImage|InlineImage] at the beginning of this Element. The image that will be inserted is specified by the stream parameter.{excerpt} {signature:C#} public virtual InlineImage InsertImageBefore(System.IO.Stream stream) {signature}{signature:vb.net} Public Overridable Function InsertImageBefore(ByVal stream As System.IO.Stream) As InlineImage {signature} {parameters} {param:stream}A {msdn:System.IO.Stream|Stream} containing the image to insert. to insert.{param} {returns}An {{InlineImage}} object that represents the image that was inserted.{returns} {exceptions} {exception:System.Exception}If the image file is not a valid format. See [InlineImage.Format|InlineImage.Format] for a list of supported formats.{exception} {example}{code:csharp|title=C#} InlineImage image = e.InsertImageBefore(strm);{code} {code:vb.net|title=vb.net} Dim image As InlineImage = e.InsertImageBefore(strm){code} {example} |
Page History
Overview
Content Tools