[]
Represents the properties used to show an online video to the user.
public class WebVideoProperties : FormattingBag
Gets or sets the embedded HTML to be rendered within the image.
The default is null.
public string EmbeddedHtml { get; set; }
Gets or sets the height of the rendered html page in pixels.
Value must be greater than 0.
The default is 0.
public int Height { get; set; }
Gets or sets the width of the rendered html page in pixels.
Value must be greater than 0.
The default is 0.
public int Width { get; set; }
protected bool Equals(WebVideoProperties other)
other
WebVideoPropertiespublic override bool Equals(object obj)
obj
objectpublic override int GetHashCode()
Resets properties to defaults.
public void Reset()
Sets the video URL, title and size associated with this WebVideoProperties.
public void SetUrl(string url, string title, int width, int height)
url
stringThe video URL.
title
stringThe title of web video player.
width
intThe width of the player, overrides the current Width.
height
intThe height of the player, overrides the current Height.
Sets the video URL and title associated with this WebVideoProperties.
public void SetUrl(string url, string title)
url
stringThe video URL.
title
stringThe title of web video player.
Sets the video URL associated with this WebVideoProperties.
public void SetUrl(string url)
url
stringThe video URL.