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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 NewAnnotation with Red Border?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
jeffp Posted - Oct 15 2024 : 14:04:46
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
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Nov 03 2024 : 23:14:58
Hi Jeff

I checked this, it gave me a perfectly red rectangle:

ImageEnView1.PdfViewer.Annotations.NewAnnotation(DRect( 100, 100, 500, 500 ), patSquare, TColor2TRGBA(clRed, 255), TColor2TRGBA(clRed, 255));

Nigel
Xequte Software
www.imageen.com
jeffp Posted - Oct 16 2024 : 20:23:08
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
xequte Posted - Oct 16 2024 : 19:27:51
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