LEADTOOLS Support
Medical
Medical SDK Questions
can't add personalized Border color to the Medical3DControl()
#1
Posted
:
Friday, January 20, 2017 11:47:33 AM(UTC)
Groups: Registered
Posts: 15
I can't add personalized color to the Medical3DControl as follows :
Code:
Medical3DControl control3D = new Medical3DControl(); ;
//....related code of control3D....
control3D.ActiveBorderColor = Color.Green; //this one shows no effect
control3D.NonActiveBorderColor = Color.Orange; //this one shows also no effect
//....related code of control3D....
_medicalViewer.Cells.Add(control3D);
ActiveBorderColor can's be set to another color, other than default one. Any idea?
Edited by user Monday, January 23, 2017 3:15:41 AM(UTC)
| Reason: spelling
#2
Posted
:
Saturday, January 28, 2017 6:39:24 PM(UTC)
Groups: Tech Support
Posts: 366
Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)
Hello,
I can see the UI does not appear to change based on this.
Can you describe in greater detail what look you are trying to achieve with the MedicalViewer so I can better understand your goals? Could you give me a visual representation (mock-up) of what you would like? Is this simply something you tried, didn't see any difference, and wanted to know why?
Thanks
Walter Bates
Senior Support Engineer
LEAD Technologies, Inc.
#3
Posted
:
Friday, February 10, 2017 7:07:53 AM(UTC)
Groups: Registered
Posts: 15
Hello,
We are trying to add a custom color to a cell of type "Medical3DControl".
As we tried, it was not possibble to add any color to related border of a cell of type "Medical3DControl".
My question is why is it possible to customize BoundaryBoxColor, but not possible to customize ActiveBorderColor ?
Code:
//This property accepts 'Green' as custom color :
_medical3DControl.ObjectsContainer.Objects[0].BoundaryBoxColor = System.Drawing.Color.Green;
Code:
//This property cant accepts any custom color, so why?
_medical3DControl.ActiveBorderColor = System.Drawing.Color.Green;
#4
Posted
:
Tuesday, February 21, 2017 9:55:42 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 39
Thanks: 2 times
Was thanked: 3 time(s) in 3 post(s)
Hello ehk,
The code you mentioned works just fine on my end using the latest LEADTOOLS 19 installation. What version are you working with?
If you need the latest you can download this from our site here:
https://www.leadtools.com/downloads?category=mainYou need to make sure the 3D control has one object in it. I modified our main 3D demo the same code and this is the result:
You also need to makes sure that your 3d control is actually selected:
Code:control3D.Selected = true;
Edited by moderator Monday, February 24, 2020 10:31:06 AM(UTC)
| Reason: spelling fixed, requesting additional information
Roberto Rodriguez
Developer Support Engineer
LEAD Technologies, Inc.
LEADTOOLS Support
Medical
Medical SDK Questions
can't add personalized Border color to the Medical3DControl()
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.