Package: mlreportgen.ppt
Scale text to fit placeholder or text box
Use an mlreportgen.ppt.AutoFit
format object to scale text to fit a
placeholder or text box in a PPT API slide. Add an AutoFit
object to the
Style
property of an mlreportgen.ppt.ContentPlaceholder
, mlreportgen.ppt.TextBoxPlaceholder
, or mlreportgen.ppt.TextBox
object.
The mlreportgen.ppt.AutoFit
class is a handle
class.
scales
text in a content placeholder or text box. Specify the scaling percentage by setting the
FontScale
property.autoFitObj
= AutoFit()
scales the text if autoFitObj
= AutoFit(tf
) tf
is true. Specify the scaling percentage by
setting the FontScale
property.
scales the text if autoFitObj
= AutoFit(tf
,fontScale
)tf
is true
. The text is scaled by
the percentage specified by fontScale
. See the FontScale
property.
mlreportgen.ppt.ContentPlaceholder
| mlreportgen.ppt.TextBox
| mlreportgen.ppt.TextBoxPlaceholder