Main Content

mlreportgen.dom.HAlign Class

Namespace: mlreportgen.dom

Specify horizontal alignment of document object

Description

Specifies horizontal alignment of a document object.

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

Creation

Description

alignObj = HAlign creates an alignment object having the value "left".

alignObj = HAlign(value) creates an alignment object having the specified value.

Input Arguments

expand all

Horizontal alignment of a document object, specified as one of these values:

  • "center"

  • "left"

  • "right"

  • "justify"

Properties

expand all

Horizontal alignment, specified as one of these values:

  • "center" — Center object between the sides of the container

  • "left" — Align object to the left side of the container

  • "right" — Align object to the right side of the container

  • "justify" — Align text to the left and right sides of the container, adjusting word and letter spacing and hyphenating as necessary (if hyphenation is enabled).

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 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

Version History

Introduced in R2014b