Main Content

mlreportgen.dom.Height Class

Namespace: mlreportgen.dom

Height of object

Description

Specifies the height of an image.

The mlreportgen.dom.Height class is a handle class.

Creation

Description

heightObj = Height creates a format object that specifies a height of 1 inch.

heightObj = Height(value) creates a height object having the specified height.

Input Arguments

expand all

Height of the object, in the form valueUnits, where Units is an abbreviation for the units. These abbreviations are valid:

  • "px" — pixels

  • "cm" — centimeters

  • "in" — inches

  • "mm" — millimeters

  • "pc" — picas

  • "pt" — points

Properties

expand all

Object identifier for the mlreportgen.dom.Height object, specified as a character vector or string scalar. The DOM API generates a session-unique identifier when it creates the document element object. You can specify your own value for Id.

Attributes:

NonCopyable
true

Data Types: char | string

Tag for the mlreportgen.dom.Height object, specified as a character vector or string scalar. The DOM API generates a session-unique tag as part of the creation of this object. The generated tag has the form CLASS:ID, where CLASS is the object class and ID is the value of the Id property of the object. Specify your own tag value to help you identify where to look when an issue occurs during document generation.

Attributes:

NonCopyable
true

Data Types: char | string

character vector having the format valueUnits, where Units is an abbreviation for the units in which the height is expressed. The following abbreviations are valid:

  • "px" — pixels

  • "cm" — centimeters

  • "in" — inches

  • "mm" — millimeters

  • "pc" — picas

  • "pt" — points

Version History

Introduced in R2014b