I want to create a journal 1st page with title that put in the centre of the page. But, seem like the textbox is always show up at the top of the page. Any idea?
nw = New Window( "Reports",
<<Journal,
hlb = H List Box(
lub = Lineup Box( N Col( 1 ),
//ob_stat = Outline Box( "Statistic Summary"),
tb = Text Box( "Pegasus Characterization Report" ),
Page Break Box(), // start new page
)
)
);
tb << Set Font Size( 20 ) << Set Font Style( "Bold" ) << Justify Text( "center" ) << setWrap( 800 ) <<
SetWidth( 1200 );
Reports = Current Journal();
Reports << Set page setup( margins( 0.1, 0.1, 0.1, 0.1 ), scale( 0.65 ), portrait( 0 ), paper size( "A4" ) );
See if this gets you what you want
nw = New Window( "Reports",
<<Journal,
spacer box(size(0,600)),
hlb = H List Box(
lub = Lineup Box( N Col( 1 ),
//ob_stat = Outline Box( "Statistic Summary"),
tb = Text Box( "Pegasus Characterization Report" ),
Page Break Box(), // start new page
)
)
);
tb << Set Font Size( 20 ) << Set Font Style( "Bold" ) <<
Justify Text( "center" ) << setWrap( 800 ) << SetWidth( 1200 );
Reports = Current Journal();
Reports << Set page setup(
margins( 0.1, 0.1, 0.1, 0.1 ),
scale( 0.65 ),
portrait( 0 ),
paper size( "A4" )
);
Thanks Nelson. It work for me.
See if this gets you what you want
nw = New Window( "Reports",
<<Journal,
spacer box(size(0,600)),
hlb = H List Box(
lub = Lineup Box( N Col( 1 ),
//ob_stat = Outline Box( "Statistic Summary"),
tb = Text Box( "Pegasus Characterization Report" ),
Page Break Box(), // start new page
)
)
);
tb << Set Font Size( 20 ) << Set Font Style( "Bold" ) <<
Justify Text( "center" ) << setWrap( 800 ) << SetWidth( 1200 );
Reports = Current Journal();
Reports << Set page setup(
margins( 0.1, 0.1, 0.1, 0.1 ),
scale( 0.65 ),
portrait( 0 ),
paper size( "A4" )
);
Thanks Nelson. It work for me.