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

Class that represent a “iframe” tag. The iframe tag specifies an inline frame.
C#
public class Iframe : CodiumSDK.CPL.HTMLTagBase

Métodos

NombreDescripción
GetAttribute(name)Get Attribute

Constructores

NombreDescripción
Iframe()Iframe
Iframe(program, allowfullscreen, height, width, loading, name, src, style, className, id, title)Constructor for iframe

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

Iframe()

Iframe
C#
public Iframe();

Iframe(program, allowfullscreen, height, width, loading, name, src, style, className, id, title)

Constructor for iframe
C#
public Iframe(CodiumSDK.CPL.ProgramDefinition program, System.Boolean allowfullscreen, System.Int32 height, System.Int32 width, CodiumSDK.CPL.HTMLTags.Iframe.Loading loading, System.String name, System.String src, System.String style, System.String className, System.String id, System.String title);

Parámetros

NombreTipoDescripción
programCodiumSDK.CPL.ProgramDefinitionProgram Definition
allowfullscreenSystem.BooleanSet to true if the iframe can activate fullscreen mode by calling the requestFullscreen() method
heightSystem.Int32Specifies the height of an iframe. Default height is 150 pixels
widthSystem.Int32Specifies the width of an iframe. Default width is 300 pixels
loadingCodiumSDK.CPL.HTMLTags.Iframe.LoadingSpecifies whether a browser should load an iframe immediately or to defer loading of iframes until some conditions are met
nameSystem.StringSpecifies the name of an iframe
srcSystem.StringSpecifies the address of the document to embed in the iframe
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