ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 NewAnnotation with Red Border?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

jeffp

USA
32 Posts

Posted - Oct 15 2024 :  14:04:46  Show Profile  Reply
Is there anyway I can create a new "square" Annotation with a transparent fill but a dark red border around the box?

FViewer.PdfViewer.Annotations.NewAnnotation(Result, patSquare, TColor2TRGBA(clRed, 255), TColor2TRGBA(clRed, 5));

I can't seem to find a way to add a dark red border around the annotation.

Thanks.

--Jeff

jp

xequte

38531 Posts

Posted - Oct 16 2024 :  19:27:51  Show Profile  Reply
Hi

Your code above seems correct for a square of a fully opaque red border and almost transparent fill. Can you clarify what you are seeing?



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

jeffp

USA
32 Posts

Posted - Oct 16 2024 :  20:23:08  Show Profile  Reply
I got it working better so I don't know what I was doing before. However, I will say even with the opacity of 255 the border still looks a bit muted. I was hoping it would be a bright red.


jp
Go to Top of Page

xequte

38531 Posts

Posted - Oct 17 2024 :  01:29:45  Show Profile  Reply
Hi Jeff

I'll check that when I am back in the office.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: