mlreportgen.dom.VAlign class

Package: mlreportgen.dom
Superclasses:

Vertical alignment of document object

Description

Specifies vertical alignment of objects.

Construction

vAlignObj = VAlign() creates an alignment object having the value 'top'.

vAlignObj = VAlign(value) creates an alignment object having the specified value.

Input Arguments

expand all

Vertical alignment of a document element, specified as one of these values:

  • 'top'

  • 'middle'

  • 'bottom'

Output Arguments

expand all

Vertical alignment of document object, represented by an mlreportgen.dom.VAlign object.

Properties

expand all

ID for this document element, specified as a character vector. The DOM generates a session-unique ID when it creates the document element. You can specify your own ID.

Tag for the document element, specified as a character vector.

The DOM generates a session-unique tag when it creates the document element. Structure the tag as class:id, where class is the class of the element and id is the value of the Id property. You can specify a tag to replace the generated tag. Specifying your own tag can make it easier to identify where an issue occurred during document generation.

Vertical alignment of an object, specified as one of these values:

  • 'top'

  • 'middle'

  • 'bottom'