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
|
|
|