How is it possible in TPDFDrawObjectRec to change highlight color, pen width?

  • Dear All,

    With wPDFViewPlus04 ver. 408020, 32 bit

    I use the structure like this:

    ...

    var

    t :TPDFDrawObjectRec;

    ..

    begin

    ..

    FillChar(t, SizeOf(t), 0);

    t.ObjectOptions := 8192;

    t.CreateOptions := 8192*2+ 8192*8;

    t.PageNo := 0;

    t.Angle := 90;

    t.w := 125;

    t.h := 50;

    t.x := 20;

    t.y := 200;

    t.grtyp := 0; // Highlight

    t.Alpha := 0;

    t.ColorPen := clBlack;

    t.ColorBrush := clNone;

    t.PenWidth := 10*1000;

    WPViewPDF.AddDrawObject(wpAddNow, '', t, 't', PAnsiChar(s));

    ..

    end;

    and have the rectangle of the a little bit transporant red color.

    Could you please help me to paint properly my rectangle / highlight!

    Please let me know if you need my credentials or licence -- what ever...

    Many thanks for you time and attantion.

    Sincerely,

    Lena Vladykina