ShowPosition Property

Summary
Gets or sets a value indicating whether to show position information during design mode.
Syntax
C#
C++/CLI
public bool ShowPosition { get; set; } 
            public: 
property bool ShowPosition { 
   bool get(); 
   void set (    bool ); 
} 

Property Value

True to show position during layout design mode; otherwise, false.

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 22.0.2023.2.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MedicalViewer Assembly

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