SIL.FieldWorks.Common.RootSites.OrientationManager.GetAvailWidth C# (CSharp) Method

GetAvailWidth() public method

The width available for laying out a line of text, before subtracting margins. Normally this is the width of the pane, but for vertical alignment it is the height.
public GetAvailWidth ( ) : int
return int
		public virtual int GetAvailWidth()
		{
			// The default -4 allows two pixels right and left to keep data clear of the margins.
			return m_site.ClientRectangle.Width;
		}