Enum TextItemType

TextItemType enumeration

Item type to change a text style for.

public enum TextItemType

Values

NameValueDescription
RowColumnTitles0Row and column titles.
CriticalTasks1Critical tasks.
NoncriticalTasks2Noncritical tasks.
MilestoneTasks3Milestone tasks.
InactiveTasks4Inactive tasks.
SummaryTasks5Summary tasks.
AssignmentRow6Assignment row.
TopTimescaleTier7Top timescale tier.
BottomTimescaleTier8Bottom timescale tier.
MiddleTimescaleTier9Middle timescale tier.
Resources10Resource sheet.
OverallocatedResources11Over allocated resources.
TaskFilterHighlight12Task Filter Highlight text item.
BarTextBottom13Bar Text Bottom text item.
BarTextInside14Bar Text Inside text item.
BarTextLeft15Bar Text Left text item.
BarTextRight16Bar Text Right text item.
BarTextTop17Bar Text Top text item.
MarkedTasks18Marked task text item.
ProjectSummary19Project summary task text item.
ExternalTasks20External tasks text item.
Allocated21Allocated text item.
ChangedCells22Changed cells.

Examples

Shows how to work with text item types.

var project = new Project(DataDir + "CreateProject2.mpp");
SaveOptions options = new PdfSaveOptions
{
    PresentationFormat = PresentationFormat.ResourceSheet
};

var style = new TextStyle(FontStyles.Italic | FontStyles.Bold)
{
    Color = Color.OrangeRed
};

style.ItemType = TextItemType.OverallocatedResources;

options.TextStyles = new List<TextStyle>
{
    style
};
project.Save(OutDir + "CustomizeTextStyle_out.pdf", options);

See Also