How do i able to display Text at center of the page in Journal?
Names Default To Here( 1 );
Clear Symbols();
Clear Log();
Close All( Data Tables, NoSave );
Close All( Journals, NoSave );
nw = New Window( "Reports",
<<Journal,
hlb = H List Box(
lub = Lineup Box( N Col( 1 ) )
)
);
lub << Append( tb = Text Box( "Updated on : " || Short Date( Today() ) ));
tb << Set Font Size( 50 ) << Set Font Style( "Bold" ) << Justify Text( "Center" );
tb << set width(1000) << set wrap(1000);
Reports = Current Journal();
Reports << Set page setup( margins( 0.1, 0.1, 0.1, 0.1 ), scale( 0.8 ), portrait( 0 ), paper size( "A4" ) );
Reports << get page setup();
Reports << SavePDF("DSA_report.pdf");
The layout that i intended like picture below.