ApiExamples.ExDocumentBuilder.DocumentBuilderApplyParagraphStyle C# (CSharp) Метод

DocumentBuilderApplyParagraphStyle() приватный Метод

private DocumentBuilderApplyParagraphStyle ( ) : void
Результат void
        public void DocumentBuilderApplyParagraphStyle()
        {
            //ExStart
            //ExId:DocumentBuilderApplyParagraphStyle
            //ExSummary:Shows how to apply a paragraph style.
            Document doc = new Document();
            DocumentBuilder builder = new DocumentBuilder(doc);

            // Set paragraph style
            builder.ParagraphFormat.StyleIdentifier = StyleIdentifier.Title;

            builder.Write("Hello");
            //ExEnd
        }
ExDocumentBuilder