Espacio de nombres: CodiumSDK.CPL.HTMLTags
Ensamblado: CodiumSDK.dll

Class that represent a “img” tag. The img tag is used to embed an image in an HTML page.
C#
public class Img : CodiumSDK.CPL.HTMLTagBase

Métodos

NombreDescripción
GetAttribute(name)Get Attribute

Constructores

NombreDescripción
Img()Img
Img(program, alt, src, loading, longdesc, height, width, usemap, style, className, id, title)Constructor for img

GetAttribute(name)

Get Attribute
C#
public CodiumSDK.CPL.HTMLAttribute GetAttribute(System.String name);

Regresa

CodiumSDK.CPL.HTMLAttribute

Parámetros

NombreTipoDescripción
nameSystem.StringName of the Atrribute

Img()

Img
C#
public Img();

Img(program, alt, src, loading, longdesc, height, width, usemap, style, className, id, title)

Constructor for img
C#
public Img(CodiumSDK.CPL.ProgramDefinition program, System.String alt, System.String src, CodiumSDK.CPL.HTMLTags.Iframe.Loading loading, System.String longdesc, System.Int32 height, System.Int32 width, CodiumSDK.CPL.HTMLTags.Map usemap, System.String style, System.String className, System.String id, System.String title);

Parámetros

NombreTipoDescripción
programCodiumSDK.CPL.ProgramDefinitionProgram Definition
altSystem.StringSpecifies an alternate text for an image
srcSystem.StringSpecifies the path to the image
loadingCodiumSDK.CPL.HTMLTags.Iframe.LoadingSpecifies whether a browser should load an image immediately or to defer loading of images until some conditions are met
longdescSystem.StringSpecifies a URL to a detailed description of an image
heightSystem.Int32Specifies the height of an image
widthSystem.Int32Specifies the width of an image
usemapCodiumSDK.CPL.HTMLTags.MapSpecifies an image as a client-side image map
styleSystem.StringSpecifies an inline CSS style for an element
classNameSystem.StringSpecifies one or more classnames for an element (refers to a class in a style sheet)
idSystem.StringSpecifies a unique id for an element
titleSystem.StringSpecifies extra information about an element