MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Guía de usuario Pagina 615

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 986
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 614
mlreportgen.dom.FlowDirection class
12-121
Properties
Id — ID for document element
string
A session-unique ID is generated as part of document element creation. You can specify
an ID to replace the generated ID.
Tag — Tag for document element
string
Tag for document element, specified as a string.
A session-unique ID is generated as part of document element creation. The generated
tag has the form CLASS:ID, where CLASS is the class of the element and ID is the value
of the Id property of the object. You can specify a tag to replace the generated tag.
Specify your own tag value, for example, to make it easier to identify where an issue
occurred during document generation.
Value — Text flow direction
string
String specifying the direction for text to flow or the order of table columns.
'ltr' — text flow or table column order is from left to right
'rtl' — text flow or table column order is from right to left
Examples
Flow Text from Right to Left
In this example, changing the text flow direction changes “stressed” into “desserts”.
import mlreportgen.dom.*;
doctype = 'docx';
d = Document('test',doctype);
p = Paragraph('desserts');
p.Style = {FlowDirection('rtl')};
append(d,p);
Vista de pagina 614
1 2 ... 610 611 612 613 614 615 616 617 618 619 620 ... 985 986

Comentarios a estos manuales

Sin comentarios