Class HTMLImageElement

Class HTMLImageElement

Il nome: Aspose.Html Assemblaggio: Aspose.HTML.dll (25.4.0)

Visualizza la definizione degli elementi IMG in HTML 4.01.

Vedi anche il Document object Model (DOM) Level 2 HTML Specification .

[DOMName("HTMLImageElement")]
[ComVisible(true)]
[DOMObject]
public class HTMLImageElement : HTMLElement, INotifyPropertyChanged, IEventTarget, IDisposable, IXPathNSResolver, IParentNode, IElementTraversal, IChildNode, IElementCSSInlineStyle, IGlobalEventHandlers

Inheritance

object DOMObject EventTarget Node Element HTMLElement HTMLImageElement

Implements

INotifyPropertyChanged , IEventTarget , IDisposable , IXPathNSResolver , IParentNode , IElementTraversal , IChildNode , IElementCSSInlineStyle , IGlobalEventHandlers

I membri ereditari

HTMLElement.Id , HTMLElement.Title , HTMLElement.Lang , HTMLElement.Dir , HTMLElement.ClassName , HTMLElement.Style , HTMLElement.OnAbort , HTMLElement.OnBlur , HTMLElement.OnCancel , HTMLElement.OnCanplay , HTMLElement.OnCanPlayThrough , HTMLElement.OnChange , HTMLElement.OnClick , HTMLElement.OnCueChange , HTMLElement.OnDblClick , HTMLElement.OnDurationChange , HTMLElement.OnEmptied , HTMLElement.OnEnded , HTMLElement.OnError , HTMLElement.OnFocus , HTMLElement.OnInput , HTMLElement.OnInvalid , HTMLElement.OnKeyDown , HTMLElement.OnKeyPress , HTMLElement.OnKeyUp , HTMLElement.OnLoad , HTMLElement.OnLoadedData , HTMLElement.OnLoadedMetadata , HTMLElement.OnLoadStart , HTMLElement.OnMouseDown , HTMLElement.OnMouseEnter , HTMLElement.OnMouseLeave , HTMLElement.OnMouseMove , HTMLElement.OnMouseOut , HTMLElement.OnMouseOver , HTMLElement.OnMouseUp , HTMLElement.OnMouseWheel , HTMLElement.OnPause , HTMLElement.OnPlay , HTMLElement.OnPlaying , HTMLElement.OnProgress , HTMLElement.OnRateChange , HTMLElement.OnReset , HTMLElement.OnResize , HTMLElement.OnScroll , HTMLElement.OnSeeked , HTMLElement.OnSeeking , HTMLElement.OnSelect , HTMLElement.OnShow , HTMLElement.OnStalled , HTMLElement.OnSubmit , HTMLElement.OnSuspend , HTMLElement.OnTimeUpdate , HTMLElement.OnToggle , HTMLElement.OnVolumeChange , HTMLElement.OnWaiting , Element.GetAttributeNames() , Element.HasAttributes() , Element.GetAttribute(string) , Element.GetAttributeNS(string, string) , Element.SetAttribute(string, string) , Element.SetAttributeNS(string, string, string) , Element.RemoveAttribute(string) , Element.RemoveAttributeNS(string, string) , Element.HasAttribute(string) , Element.HasAttributeNS(string, string) , Element.ToggleAttribute(string) , Element.ToggleAttribute(string, bool) , Element.GetAttributeNode(string) , Element.SetAttributeNode(Attr) , Element.RemoveAttributeNode(Attr) , Element.GetAttributeNodeNS(string, string) , Element.SetAttributeNodeNS(Attr) , Element.GetElementsByTagName(string) , Element.GetElementsByTagNameNS(string, string) , Element.Remove() , Element.QuerySelectorAll(string) , Element.QuerySelector(string) , Element.AttachShadow(ShadowRootMode) , Element.GetElementsByClassName(string) , Element.Dispose(bool) , Element.ClassList , Element.LocalName , Element.NamespaceURI , Element.Prefix , Element.NodeName , Element.NodeType , Element.TagName , Element.Id , Element.ClassName , Element.TextContent , Element.Attributes , Element.FirstElementChild , Element.LastElementChild , Element.PreviousElementSibling , Element.NextElementSibling , Element.ChildElementCount , Element.Children , Element.InnerHTML , Element.OuterHTML , Element.ShadowRoot , Node.ELEMENT_NODE , Node.ATTRIBUTE_NODE , Node.TEXT_NODE , Node.CDATA_SECTION_NODE , Node.ENTITY_REFERENCE_NODE , Node.ENTITY_NODE , Node.PROCESSING_INSTRUCTION_NODE , Node.COMMENT_NODE , Node.DOCUMENT_NODE , Node.DOCUMENT_TYPE_NODE , Node.DOCUMENT_FRAGMENT_NODE , Node.NOTATION_NODE , Node.HasChildNodes() , Node.Normalize() , Node.CloneNode() , Node.CloneNode(bool) , Node.IsEqualNode(Node) , Node.IsSameNode(Node) , Node.LookupPrefix(string) , Node.LookupNamespaceURI(string) , Node.IsDefaultNamespace(string) , Node.InsertBefore(Node, Node) , Node.ReplaceChild(Node, Node) , Node.RemoveChild(Node) , Node.AppendChild(Node) , Node.Dispose(bool) , Node.ToString() , Node.NodeType , Node.LocalName , Node.NamespaceURI , Node.Prefix , Node.NodeName , Node.BaseURI , Node.OwnerDocument , Node.ParentNode , Node.ParentElement , Node.ChildNodes , Node.FirstChild , Node.LastChild , Node.PreviousSibling , Node.NextSibling , Node.NodeValue , Node.TextContent , EventTarget.AddEventListener(string, DOMEventHandler, bool) , EventTarget.AddEventListener(string, IEventListener) , EventTarget.AddEventListener(string, IEventListener, bool) , EventTarget.RemoveEventListener(string, DOMEventHandler, bool) , EventTarget.RemoveEventListener(string, IEventListener) , EventTarget.RemoveEventListener(string, IEventListener, bool) , EventTarget.DispatchEvent(Event) , EventTarget.Dispose() , EventTarget.Dispose(bool) , DOMObject.GetPlatformType() , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Properties

Align

Alinea questo oggetto (verticalmente o orizzontalmente) in relazione al suoVedi la definizione di attributi allineati in HTML 4.01.Questo atributo è deprezzato in HTML 4.01.

[DOMName("align")]
public string Align { get; set; }

Valore di proprietà

string

Alt

Testo alternativo per gli agenti utente che non rendono il contenuto normale di questoVedi la definizione dell’attributo alt in HTML 4.01.

[DOMName("alt")]
public string Alt { get; set; }

Valore di proprietà

string

Border

Vedi la definizione dell’attributo di frontiera inHTML 4.01. Questo attributo è deprezzato in HTML 4.01. Nota che il tipo di questo attributo era ‘DOMString’ in DOM Livello 1 HTML [DOM Livello 1].

[DOMName("border")]
public string Border { get; set; }

Valore di proprietà

string

Height

Visualizza la definizione dell’attributo di altezza inHTML 4.01. Nota che il tipo di questo attributo è ‘DOMString’ in DOM Livello 1 HTML [DOM Livello 1].@versione DOM Livello 2

[DOMName("height")]
public float Height { get; set; }

Valore di proprietà

float

Hspace

Spazio orizzontale a sinistra e destra di questa immagine in pixel. vedi la definizione dell’attributo dello spazio in HTML 4.01. Questo attributo è deprezzato in HTML 4.01. Nota che il tipo di questo attributo è ‘DOMString’ in DOM Livello 1 HTML [DOM Livello 1].@versione DOM Livello 2

[DOMName("hspace")]
public int Hspace { get; set; }

Valore di proprietà

int

IsMap

Utilizzare la mappa dell’immagine sul server. Visualizza la definizione dell’attributo ismap in HTML4.01.

[DOMName("isMap")]
public bool IsMap { get; set; }

Valore di proprietà

bool

LongDesc

di Uri [Il nuovo IETF RFC 2396] indicando una lunga descrizione di questa immagine o quadro.Definizione di attributi di longdesc in HTML 4.01.

[DOMName("longDesc")]
public string LongDesc { get; set; }

Valore di proprietà

string

Name

Il nome dell’elemento (per la compatibilità posteriore).

[DOMName("name")]
public string Name { get; set; }

Valore di proprietà

string

Src

di Uri [Il nuovo IETF RFC 2396] indicando la fonte di questa immagine. vedi l’attributo srcLa definizione in HTML 4.01.

[DOMName("src")]
public string Src { get; set; }

Valore di proprietà

string

UseMap

Visualizza la definizione dell’attributo di usemap in HTML4.01.

[DOMName("useMap")]
public string UseMap { get; set; }

Valore di proprietà

string

Vspace

Spazio verticale sopra e sotto questa immagine in pixel.attribute definizione in HTML 4.01. Questo attribute è deprezzato inHTML 4.01. Nota che il tipo di questo attributo è stato “DOMString” inIl livello 1 di HTML [Dom livello 1e diVersione DOM di livello 2

[DOMName("vspace")]
public int Vspace { get; set; }

Valore di proprietà

int

Width

Vedi la definizione di atributo di larghezza inHTML 4.01. Nota che il tipo di atributo è ‘DOMString’ in DOM Livello 1 HTML [DOM Livello 1].@versione DOM Livello 2

[DOMName("width")]
public float Width { get; set; }

Valore di proprietà

float

Methods

Dispose(di bool)

Rilascia risorse non gestite e - opzionale - gestite.

protected override void Dispose(bool disposing)

Parameters

disposing bool

“true” per rilasciare sia risorse gestite che non gestite; “falso” per rilasciare solo risorse non gestite.

 Italiano