RectBackColor Property

Summary
Gets or sets the color of the rect back.
Syntax
C#
C++/CLI
public Color RectBackColor { get; set; } 
            public: 
property Color RectBackColor { 
   Color get(); 
   void set (    Color ); 
} 

Property Value

The color of the rect back.

Example
C#
using Leadtools.MedicalViewer; 
using Leadtools.Codecs; 
using Leadtools; 
 
public void MedicorViewerLayoutExample1() 
{ 
   MedicalViewerForm myForm = GetMedicalControl(); 
   MedicalViewer medicalViewer = myForm.Viewer; 
 
   // Set the LayoutOptions 
   medicalViewer.LayoutOptions.AllowOverlappingCells = false; 
   medicalViewer.LayoutOptions.DesignTool = MedicalViewerDesignTool.Draw; 
   medicalViewer.LayoutOptions.GridSize = new Size(8, 8); 
   medicalViewer.LayoutOptions.RectBackColor = Color.Yellow; 
   medicalViewer.LayoutOptions.RectForeColor = Color.Red; 
   medicalViewer.LayoutOptions.ShowGrid = true; 
   medicalViewer.LayoutOptions.ShowPosition = true; 
   medicalViewer.LayoutOptions.SnapToGrid = true; 
   medicalViewer.LayoutOptions.UserMode = MedicalViewerUserMode.Design; 
 
   // 
   // Show only if created in layout mode 
   // 
   if (medicalViewer.GridMode == false) 
      myForm.ShowDialog(); 
} 
Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MedicalViewer Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.