Excerpt |
---|
Inserts and returns an InlineImage at the point represented by this Position. The image that is inserted is specified by a fileName string. |
Signature |
---|
C# | C# | Wiki Markup |
---|
{description}
{excerpt}Inserts and returns an [InlineImage|InlineImage] at the point represented by this Position. The image that is inserted is specified by a fileName string.{excerpt}
{signature:C#}
public InlineImage InsertImage(System.String fileName)
|
Signature |
---|
{signature}{signature:vb.net | vb.net | }
Public Function InsertImage(ByVal fileName As String) As InlineImage
|
...
A String
representing the file anme of the image to insert.
Returns |
---|
An InlineImage object representing the inserted image. |
Exception |
---|
System.Exception | System.Exception | Example |
---|
Code Block |
---|
| csharp | csharp |
title | C# |
---|
{signature}
{parameters}
{param:fileName}A {{String}} representing the file anme of the image to insert.{param}
{returns}An {{InlineImage}} object representing the inserted image.{returns}
{exceptions}
{exception:System.Exception}{exception}
{example}{code:csharp|title=C#}
InlineImage image = pos.InsertImage("C:\\sample.jpg");
Code Block |
---|
{code}
{code:vb.net
vb.net | title | |title=vb.net
}
Dim image As InlineImage = pos.InsertImage("C:\sample.jpg"){code}
{example}