Cobol Code

Hi All,

I'm using the system.drawing.font property and i want to print bold and underlined.

Ive found how to do it in VB or C# see:-

So Ive got the following COBOL code:-

invoke e::"Graphics"::"DrawString"(ws-string, type System.Drawing.Font::New("Arial", ls-FontSize, type System.Drawing.FontStyle::Bold) , type System.Drawing.SolidBrush::New(typeSystem.Drawing.Color::FromArgb(ls-Alpha, ls-Red, ls-Green,  ls-Blue)), ls-x, ls-y, ws-cStringFormat)

Can you pls advise how to Cobol code BOLD UNDERLINED

Thanks in advance


Parents Reply Children
No Data