Control.Height

Syntax

Height: Number;

Description

The Height property determines component height.

Comments

Use JSON or the setHeight property to set the property value, and the getHeight method to get the property value.

Example

To execute the example, link the PP.js library and PP.css style table to the HTML page. See below the Javascript code used to create a button with the specified size.

<script type="text/javascript">
var b1 = new PP.Ui.Button({
      ParentNode: document.getElementById("b1"),
      Content: "Select",
      Width: 100,
      Height: 100});
</script>

After executing the example the HTML page will contain the button named Select with the 100x100 pixels size.

See also:

Control