Click here to Skip to main content
12,699,807 members (35,920 online)
Click here to Skip to main content

Tagged as


100 bookmarked

RTF Document Constructor Library

, 16 Aug 2010 CPOL
Create Rich Text Format documents programatically.
using System;
using System.Collections.Generic;
using System.Text;

namespace ESCommon.Rtf
    /// <summary>
    /// Specifies wheter RtfWriter must include a member according to condition.
    /// </summary>
    [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
    internal class RtfIncludeAttribute : Attribute
        private string _conditionMemberName;
        private bool _value = true;

        /// <summary>
        /// Gets or sets name of a Boolean member inside a class, value of which is used by RtfWriter as a condition. 
        /// </summary>
        public string ConditionMember
            get { return _conditionMemberName; }
            set { _conditionMemberName = value; }

        /// <summary>
        /// Gets or sets value of the condition member. Default is true.
        /// </summary>
        public bool Value
            get { return _value; }
            set { _value = value; }

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Dima Popov
Software Developer Energoservice
Russian Federation Russian Federation
Dmitry lives in Arkhangelsk, Russia. He has developed C# applications since 2007.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170118.1 | Last Updated 16 Aug 2010
Article Copyright 2010 by Dima Popov
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid