TextEndOfParagraph.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Core / CSharp / System / Windows / Media / textformatting / TextEndOfParagraph.cs / 1 / TextEndOfParagraph.cs

                            //------------------------------------------------------------------------ 
//
//  Microsoft Windows Client Platform
//  Copyright (C) Microsoft Corporation
// 
//  File:      TextEndOfParagraph.cs
// 
//  Contents:  Implementation of text paragraph break control 
//
//  Spec:      http://team/sites/Avalon/Specs/Text%20Formatting%20API.doc 
//
//  Created:   1-2-2004 Worachai Chaoweeraprasit (wchao)
//
//----------------------------------------------------------------------- 

 
using System; 
using System.Collections;
using System.Windows; 


namespace System.Windows.Media.TextFormatting
{ 
    /// 
    /// Specialized line break control used to mark the end of a paragraph 
    ///  
    public class TextEndOfParagraph : TextEndOfLine
    { 
        #region Constructors

        /// 
        /// Construct a paragraph break run 
        /// 
        /// number of characters 
        public TextEndOfParagraph(int length) : base(length) 
        {}
 

        /// 
        /// Construct a paragraph break run
        ///  
        /// number of characters
        /// linebreak text run properties 
        public TextEndOfParagraph( 
            int                 length,
            TextRunProperties   textRunProperties 
            )
            : base(
                length,
                textRunProperties 
                )
        {} 
 
        #endregion
    } 
}


// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------ 
//
//  Microsoft Windows Client Platform
//  Copyright (C) Microsoft Corporation
// 
//  File:      TextEndOfParagraph.cs
// 
//  Contents:  Implementation of text paragraph break control 
//
//  Spec:      http://team/sites/Avalon/Specs/Text%20Formatting%20API.doc 
//
//  Created:   1-2-2004 Worachai Chaoweeraprasit (wchao)
//
//----------------------------------------------------------------------- 

 
using System; 
using System.Collections;
using System.Windows; 


namespace System.Windows.Media.TextFormatting
{ 
    /// 
    /// Specialized line break control used to mark the end of a paragraph 
    ///  
    public class TextEndOfParagraph : TextEndOfLine
    { 
        #region Constructors

        /// 
        /// Construct a paragraph break run 
        /// 
        /// number of characters 
        public TextEndOfParagraph(int length) : base(length) 
        {}
 

        /// 
        /// Construct a paragraph break run
        ///  
        /// number of characters
        /// linebreak text run properties 
        public TextEndOfParagraph( 
            int                 length,
            TextRunProperties   textRunProperties 
            )
            : base(
                length,
                textRunProperties 
                )
        {} 
 
        #endregion
    } 
}


// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.

                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK