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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 986
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 405
11 Functions – Alphabetical List
11-26
mlreportgen.dom.Document.createTemplate
Package: mlreportgen.dom
Create DOM template
Syntax
createTemplate(path)
createTemplate(path,type)
Description
createTemplate(path) creates a DOM template in the specified location. The file
extension indicates whether to create a Microsoft Word template (.dotx) or an HTML
template (.htmx).
createTemplate(path,type) creates a template of the specified type at the specified
path. If the path does not have an extension, this method appends an extension of the
appropriate type ( 'htmx' for an HTML template, 'htmx' for a Word template, or
'html' for a single-file HTML template.
Examples
Create a Word Template
Create a Microsoft Word template in the current folder.
import mlreportgen.dom.*
Document.createTemplate('MyWordTemplate.dotx','docx');
“Create a Microsoft Word Template”
“Create an HTML Template”
Vista de página 405
1 2 ... 401 402 403 404 405 406 407 408 409 410 411 ... 985 986

Comentários a estes Manuais

Sem comentários