getPubDateReporter
Class: mlreportgen.report.TitlePage
Namespace: mlreportgen.report
Get title page publication date reporter
Syntax
reporter = getPubDateReporter(tp)
Description
returns a reporter that the reporter
= getPubDateReporter(tp
)TitlePage
reporter (tp
)
uses to format the value specified by the PubDate
property. You use
getPubDateReporter
to customize the publication date alignment,
position, and appearance of the publication date.
.
Input Arguments
Output Arguments
Examples
Use Nondefault Title Page Publication Date Style
Create a style for the publication date on your title page that differs from the
default. Before you run this example, create a template file named
MyTitlePageTemplate
and customize its
TitlePagePubDate
style. Then, use
getPubDateReporter
and the TemplateSrc
property to use your
template.
import mlreportgen.report.* rpt = Report(); tp = TitlePage(); tp.PubDate = 'June 1 2017'; tp.PubDate = getPubDateReporter(tp); tp.PubDate.TemplateSrc = 'MyTitlePageTemplate'; add(rpt,tp);
Version History
Introduced in R2017b