IChartTextBlockFormat

IChartTextBlockFormat interface

Represents formatting properties for chart text elements.

public interface IChartTextBlockFormat

Properties

NameDescription
AnchoringType { get; set; }Returns or sets vertical anchor text in a TextFrame. Read/write TextAnchorType.
AutofitType { get; set; }Returns or sets text’s autofit mode. Changing of this property can produce a certain influence only for these chart parts: DataLabel and DataLabelFormat (full suport in PowerPoint 2013; in PowerPoint 2007 there is no effect for rendering). Read/write TextAutofitType.
CenterText { get; set; }If NullableBool.True then text should be centered in box horizontally. Read/write NullableBool.
MarginBottom { get; set; }Returns or sets the bottom margin (points) in a TextFrame. Changing of this property can produce a certain influence only for these chart parts: DataLabel and DataLabelFormat (full suport in PowerPoint 2013; in PowerPoint 2007 there is no effect for rendering). Read/write Double.
MarginLeft { get; set; }Returns or sets the left margin (points) in a TextFrame. Changing of this property can produce a certain influence only for these chart parts: DataLabel and DataLabelFormat (full suport in PowerPoint 2013; in PowerPoint 2007 there is no effect for rendering). Read/write Double.
MarginRight { get; set; }Returns or sets the right margin (points) in a TextFrame. Changing of this property can produce a certain influence only for these chart parts: DataLabel and DataLabelFormat (full suport in PowerPoint 2013; in PowerPoint 2007 there is no effect for rendering). Read/write Double.
MarginTop { get; set; }Returns or sets the top margin (points) in a TextFrame. Changing of this property can produce a certain influence only for these chart parts: DataLabel and DataLabelFormat (full suport in PowerPoint 2013; in PowerPoint 2007 there is no effect for rendering). Read/write Double.
RotationAngle { get; set; }Specifies the custom rotation that is being applied to the text within the bounding box. If it not specified, the rotation of the accompanying shape is used. If it is specified, then this is applied independently from the shape. That is the shape can have a rotation applied in addition to the text itself having a rotation applied to it. The resulted value of visual text rotation summarized from this property and predefined vertical type in property TextVerticalType. Read/write Single.
TextVerticalType { get; set; }Determines text orientation. The resulted value of visual text rotation summarized from this property and custom angle in property RotationAngle. Read/write TextVerticalType.
WrapText { get; set; }True if text is wrapped at TextFrame’s margins. Changing of this property can produce a certain influence only for these chart parts: DataLabel and DataLabelFormat (full suport in PowerPoint 2007/2013). Read/write NullableBool.

See Also