Hello i used in Q3 to init the page and default settings following codesnippet.
ChangePageSize is not recognized and also ChangeSectionMargin is now not a member of richtextbox?
How can i set it in code behind like in Q3?
Thanks ...
ChangePageSize is not recognized and also ChangeSectionMargin is now not a member of richtextbox?
How can i set it in code behind like in Q3?
Thanks ...
'Default ---------------------
.FontFamily = New FontFamily("Times New Roman")
.FontSize = Unit.PointToDip(12)
.FontStyle = FontStyles.Normal
.FontWeight = FontWeights.Normal
'Zeilenabstand ---------------
.ChangeParagraphSpacingAfter(0)
.ChangeParagraphSpacingBefore(0)
.ChangeParagraphLineSpacing(1)
'Seitenränder Normal ---------
.Document.SectionDefaultPageMargin = New Telerik.Windows.Documents.Layout.Padding(96, 96, 96, 96)
.ChangeSectionMargin(New Telerik.Windows.Documents.Layout.Padding(96, 96, 96, 96))
'A4 --------------------------
.ChangePageSize(New SizeF(793, 1056))
'Set -------------------------
.DocumentInheritsDefaultStyleSettings = True
.UpdateEditorLayout()