Contenuto principale

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, specified as character vector or string scalar that contains a number followed by an abbreviation for a unit of measurement. For example, "1in" specifies 1 in. Valid abbreviations are:

  • "px" — Pixels

  • "cm" — Centimeters

  • "in" — Inches

  • "mm" — Millimeters

  • "pc" — Picas

  • "pt" — Points

Example: "1in"

Properties

expand all

Object identifier, specified as a character vector or string scalar. The DOM API generates a session-unique identifier when it creates the document element object.

Attributes:

GetAccess
public
SetAccess
public
NonCopyable
true

Data Types: char | string

Tag, 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. Use this value to help identify where an issue occurs during document generation.

Attributes:

GetAccess
public
SetAccess
public
NonCopyable
true

Data Types: char | string

Object height, specified as character vector or string scalar that contains a number followed by an abbreviation for a unit of measurement. For example, "1in" specifies 1 inch. Valid abbreviations are:

  • "px" — Pixels

  • "cm" — Centimeters

  • "in" — Inches

  • "mm" — Millimeters

  • "pc" — Picas

  • "pt" — Points

Example: "1in"

Version History

Introduced in R2014b