MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Guia do Utilizador Página 749

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 986
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 748
mlreportgen.dom.ResizeToFitContents class
12-255
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 — Allow table to resize its columns
logical value
A setting of true (or 1) allows a table to resize its columns to fit their contents. A setting
of false (or 0) causes the content to wrap.
Data Types: logical
Examples
Resize Table Columns to Fit Content
Create a table and specify to resize the column widths to fit the widest table entry in the
column.
import mlreportgen.dom.*;
doctype = 'html';
d = Document('test',doctype);
append(d,Heading(1,'Table 1'));
table1 = Table(ones(4,4));
Vista de página 748
1 2 ... 744 745 746 747 748 749 750 751 752 753 754 ... 985 986

Comentários a estes Manuais

Sem comentários