
Espacio de nombres:
CodiumSDK.CPL.HTMLTagsEnsamblado: CodiumSDK.dll

Class that represent a “canvas” tag. The canvas tag is used to draw graphics, on the fly, via scripting (usually JavaScript).
Métodos
Constructores
#GetAttribute(name)

Get Attribute
C# |
public CodiumSDK.CPL.HTMLAttribute GetAttribute(System.String name); |
Regresa
CodiumSDK.CPL.HTMLAttribute
Parámetros
Nombre | Tipo | Descripción |
---|
name | System.String | Name of the Atrribute |
#Canvas()

Canvas
#Canvas(program, width, height, innerHTML, style, className, id, title)

Constructor for canvas
C# |
public Canvas(CodiumSDK.CPL.ProgramDefinition program, System.Int32 width, System.Int32 height, System.String innerHTML, System.String style, System.String className, System.String id, System.String title); |
Parámetros
Nombre | Tipo | Descripción |
---|
program | CodiumSDK.CPL.ProgramDefinition | Program Definition |
width | System.Int32 | Specifies the width of the canvas Default value is 300 |
height | System.Int32 | Specifies the height of the canvas. Default value is 150 |
innerHTML | System.String | Inner HTML |
style | System.String | Specifies an inline CSS style for an element |
className | System.String | Specifies one or more classnames for an element (refers to a class in a style sheet) |
id | System.String | Specifies a unique id for an element |
title | System.String | Specifies extra information about an element |