SetPrintStringStyle
Use this method to set the text style used when printing header and footer strings. Use
SetPrintStrings to set the text for the header and footer. (See
SetPrintStrings.)
Introduced with Arbortext IsoView 2.0.
Syntax
SetPrintStringStyleTargetFontSizeStyleAlignmentTopMarginBotMarginTopGapBotGap
Parameters:
Target
Defines the target for the text on the printed page as short. Allowed values are:
1
HEADER
2
FOOTER
3
HEADER AND FOOTER
Font
Defines the display name of the font as BSTR.
Size
Defines the size of the text in points as short.
Style
Defines the style of the text as short. Allowed values are:
0
NORMAL
1
BOLD
2
ITALIC
3
BOLDITALIC
|
Add 256 if you want Arbortext IsoView to keep the tip window outside the object's area.
|
Alignment
Defines the alignment of the text as short. Allowed values are:
0
LEFT
1
CENTER
2
RIGHT
TopMargin
Defines the margin (in mm) between top of the illustration and the upper border of the printable area (KEEPSETTINGS: -1) as double.
BotMargin
Defines the margin (in mm) between bottom of the illustration and the lower border of the printable area (KEEPSETTINGS: -1) as double.
TopGap
Defines the gap (in mm) between top of the illustration and the lower border of the header (KEEPSETTINGS: -1) as double.
BotGap
Defines the gap (in mm) between bottom of the illustration and the upper border of the footer (KEEPSETTINGS: -1) as double.
document.ivx1.SetPrintStringsStyle( 1, "Courier", 12, 0, 1, 20.0, 20.0, 5.0, 5.0 );