AODL.Document.Content.Text.Indexes.TableOfContents.GetTabStopStyle C# (CSharp) 메소드

GetTabStopStyle() 공개 메소드

Gets the tab stop style.
public GetTabStopStyle ( string leaderStyle, string leadingChar, double position ) : AODL.Document.Styles.TabStopStyleCollection
leaderStyle string The leader style.
leadingChar string The leading char.
position double The position.
리턴 AODL.Document.Styles.TabStopStyleCollection
		public TabStopStyleCollection GetTabStopStyle(string leaderStyle, string leadingChar, double position)
		{
			TabStopStyleCollection tabStopStyleCol	= new TabStopStyleCollection(((TextDocument)this.Document));
			//Create TabStopStyles
			TabStopStyle tabStopStyle				= new TabStopStyle(((TextDocument)this.Document), position);
			tabStopStyle.LeaderStyle				= leaderStyle;
			tabStopStyle.LeaderText					= leadingChar;
			tabStopStyle.Type						= TabStopTypes.Center;
			//Add the tabstop
			tabStopStyleCol.Add(tabStopStyle);

			return tabStopStyleCol;
		}