IframeBlock

Ecng.Markdown.Extensions

AST node for iframe embeds: ::iframe{url=https://... width=640 height=390}

Erbt von: LeafBlock

Konstruktoren

IframeBlock
public IframeBlock(BlockParser parser)
iframeBlock = IframeBlock(parser)

Initializes a new instance of the IframeBlock class.

parser
The parser that created this block.

Eigenschaften

Height
public int? Height { get; set; }
value = iframeBlock.Height
iframeBlock.Height = value

Optional embed height in pixels.

Url
public string Url { get; set; }
value = iframeBlock.Url
iframeBlock.Url = value

The embedded page address.

Width
public int? Width { get; set; }
value = iframeBlock.Width
iframeBlock.Width = value

Optional embed width in pixels.