ComponentOne Word for WPF
C1.WPF.Word.4.5.2 Assembly / C1.WPF.Word Namespace / C1WordDocument Class / GetParagraph Method / GetParagraph(String,Font,StringFormat,Single) Method
The text string of the paragraph.
The drawing font for the text.
The drawing string format.
The value in points for expand (+) or packed (-).

In This Topic
    GetParagraph(String,Font,StringFormat,Single) Method
    In This Topic
    Get paragraph for the text and string format for this document.
    Syntax
    'Declaration
     
    Public Overloads Function GetParagraph( _
       ByVal text As String, _
       ByVal font As Font, _
       ByVal sf As StringFormat, _
       ByVal expand As Single _
    ) As RtfParagraph
    public RtfParagraph GetParagraph( 
       string text,
       Font font,
       StringFormat sf,
       float expand
    )

    Parameters

    text
    The text string of the paragraph.
    font
    The drawing font for the text.
    sf
    The drawing string format.
    expand
    The value in points for expand (+) or packed (-).

    Return Value

    The paragraph for this document
    See Also