MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Guide de l'utilisateur Page 680

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 986
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 679
12 Classes – Alphabetical List
12-186
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.
Top — Size of top margin
string
String specifying the top margin between the content of an object and its bounding box.
See the Bottom property description for valid strings.
Examples
Add Inner Margins to a Paragraph
import mlreportgen.dom.*;
doctype = 'html';
d = Document('test',doctype);
p = Paragraph('Hello World');
p.Style = {Border('solid','red'), ...
HAlign('center'),InnerMargin('12pt')};
append(d,p);
p = Paragraph('More Greetings');
p.Style = {Border('solid','blue'), ...
HAlign('center'),InnerMargin('30pt')};
append(d,p);
close(d);
rptview('test',doctype);
See Also
mlreportgen.dom.OuterMargin
More About
“Report Formatting Approaches”
Vue de la page 679
1 2 ... 675 676 677 678 679 680 681 682 683 684 685 ... 985 986

Commentaires sur ces manuels

Pas de commentaire