This is a migrated thread and some comments may be shown as answers.

Formatting text colours, fonts, keylines

1 Answer 45 Views
WordsProcessing
This is a migrated thread and some comments may be shown as answers.
Ken
Top achievements
Rank 1
Ken asked on 23 Feb 2017, 04:06 PM

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")

1 Answer, 1 is accepted

Sort by
0
Dinko
Telerik team
answered on 28 Feb 2017, 01:28 PM
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

Tags
WordsProcessing
Asked by
Ken
Top achievements
Rank 1
Answers by
Dinko
Telerik team
Share this question
or