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

In This Topic
    GetParagraph(String,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 System.String, _
       ByVal sf As System.Drawing.StringFormat, _
       ByVal expand As System.Single _
    ) As RtfParagraph
    public RtfParagraph GetParagraph( 
       System.string text,
       System.Drawing.StringFormat sf,
       System.float expand
    )

    Parameters

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

    Return Value

    The paragraph for this document
    See Also