Font.Based on another font
Syntax:
Parameters:
<Font> (required)
Font providing the basis for generating a new font.
<FontName> (optional)
System's designation for the font. If the parameter is not assigned, then it can not be changed in relation to the source font.
Default value: Empty string.
<Size> (optional)
Font size. If a parameter is not specified, then it cannot be changed with regards to the source font.
Default value: -1.
<Bold> (optional)
Boldfaced font flag. If a parameter is not specified, then it cannot be changed with regards to the source font.
<Italics> (optional)
Italic font flag. If a parameter is not specified, then it cannot be changed with regards to the source font.
<Underscore> (optional)
Underscored font flag. If a parameter is not specified, then it cannot be changed with regards to the source font.
<StrikeOut> (optional)
Struck out font flag. If a parameter is not specified, then it cannot be changed with regards to the source font.
<Scale> (optional)
Sets value for the Scale property.
Default value: 100.
Description:
Example:
Bold = New Font(Template.Area(1,1).Font,,,True); |