'''' This code is part of Document Solutions for Word demos.'' Copyright (c) MESCIUS inc. All rights reserved.''ImportsSystem.DrawingImportsGrapeCity.Documents.Word PublicClassFontFillLineFunctionCreateDocx() AsGcWordDocumentDim doc = NewGcWordDocument()Dim style = doc.Styles.Add("My Style", StyleType.Paragraph) style.Font.Size = 48 Dim fill = style.Font.Fill fill.Type = FillType.GradientDim gradient = fill.GradientFill gradient.Angle = 64 gradient.Stops(0).Color.RGB = Color.LightSeaGreen gradient.Stops(1).Color.RGB = Color.Orange Dim line = style.Font.Line line.Width = 1 fill = line.Fill fill.Type = FillType.Solid fill.SolidFill.RGB = Color.Blue doc.Body.Paragraphs.Add("Font Fill and Line styles.", style) Return docEndFunctionEndClass