Formatting text colours, fonts, keylines

2 posts, 0 answers
  1. Chris
    Chris avatar
    11 posts
    Member since:
    Feb 2014

    Posted 23 Feb Link to this post

    I am attempting to format the text, according to the attached example, and place keylines of different sizes.  Any help would be appreciated.

     

     

    Dim document As New RadFlowDocument()
    Dim editor As New RadFlowDocumentEditor(document)
     
    'insert logo
    editor.InsertBreak(BreakType.LineBreak)
    Using fs As New FileStream(System.Web.HttpContext.Current.Server.MapPath("~/Assets/logo.png"), FileMode.Open, FileAccess.Read)
        editor.InsertImageInline(fs, "png")
    End Using
    editor.InsertBreak(BreakType.LineBreak)
    editor.InsertBreak(BreakType.LineBreak)
    editor.InsertBreak(BreakType.LineBreak)
     
     
    editor.InsertLine("Application Name")
    editor.InsertLine("Application ID")
    editor.InsertLine("Status")
    editor.InsertLine("Deadline Date")
  2. Dinko
    Admin
    Dinko avatar
    395 posts

    Posted 28 Feb Link to this post

    Hello Chris,

    A way to insert lines with different size is to insert a Paragraph and set its Borders property. You can specify wich border to appear (left, up, right, bottom) and set its thickness, style, and color. You can take a look at the Paragraph help article in our documentation. 

    Regards,
    Dinko
    Telerik by Progress

Back to Top