Class MdPicture
Represents an image in a Markdown.
Implements
Namespace: Syncfusion.Office.Markdown
Assembly: Syncfusion.Markdown.dll
Syntax
public class MdPicture : MdEntity, IMdInline
Constructors
MdPicture()
Declaration
public MdPicture()
Properties
AltText
Gets or sets alternate text for an image.
Declaration
public string AltText { get; set; }
Property Value
| Type |
|---|
| System.String |
ImageBytes
Gets or sets image bytes
Declaration
public byte[] ImageBytes { get; set; }
Property Value
| Type |
|---|
| System.Byte[] |
ImageFormat
Gets or sets the image format
Declaration
public string ImageFormat { get; set; }
Property Value
| Type |
|---|
| System.String |
Url
Gets or sets the image url
Declaration
public string Url { get; set; }
Property Value
| Type |
|---|
| System.String |
Methods
CloneImpl()
Creates a duplicate copy of the MdPicture.
Declaration
protected override object CloneImpl()
Returns
| Type | Description |
|---|---|
| System.Object | The reference to the newly created MdPicture instance. |
Overrides
Close()
Closes the picture.
Declaration
public void Close()