AODL.Document.Content.Text.FormatedText.GetSubOrSupStartTag C# (CSharp) Method

GetSubOrSupStartTag() private method

Gets the sub or sup start tag.
private GetSubOrSupStartTag ( ) : string
return string
		private string GetSubOrSupStartTag()
		{
			if (((TextStyle)this.Style).TextProperties.Position != null)
				if (((TextStyle)this.Style).TextProperties.Position.Length > 0)
					if (((TextStyle)this.Style).TextProperties.Position.ToLower().StartsWith("sub"))
						return "<sub>";
					else
						return "<sup>";
			
			return "";
		}