[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.WebVideoProperties

Class WebVideoProperties

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

Represents the properties used to show an online video to the user.

public class WebVideoProperties : FormattingBag
Inheritance
object
WebVideoProperties
Inherited Members
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()

Properties

EmbeddedHtml

Gets or sets the embedded HTML to be rendered within the image.

The default is null.

public string EmbeddedHtml { get; set; }

Property Value

string

Height

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; }

Property Value

int

Width

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; }

Property Value

int

Methods

Equals(WebVideoProperties)

protected bool Equals(WebVideoProperties other)

Parameters

other WebVideoProperties

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Reset()

Resets properties to defaults.

public void Reset()

SetUrl(string, string, int, int)

Sets the video URL, title and size associated with this WebVideoProperties.

public void SetUrl(string url, string title, int width, int height)

Parameters

url string

The video URL.

title string

The title of web video player.

width int

The width of the player, overrides the current Width.

height int

The height of the player, overrides the current Height.

SetUrl(string, string)

Sets the video URL and title associated with this WebVideoProperties.

public void SetUrl(string url, string title)

Parameters

url string

The video URL.

title string

The title of web video player.

SetUrl(string)

Sets the video URL associated with this WebVideoProperties.

public void SetUrl(string url)

Parameters

url string

The video URL.