IChartTextBlockFormat

public interface IChartTextBlockFormat

Represents formatting properties for chart text elements.

Methods

MethodDescription
getAnchoringType()Returns or sets vertical anchor text in a TextFrame.
setAnchoringType(byte value)Returns or sets vertical anchor text in a TextFrame.
getCenterText()If NullableBool.True then text should be centered in box horizontally.
setCenterText(byte value)If NullableBool.True then text should be centered in box horizontally.
getTextVerticalType()Determines text orientation.
setTextVerticalType(byte value)Determines text orientation.
getMarginLeft()Returns or sets the left margin (points) in a TextFrame.
setMarginLeft(double value)Returns or sets the left margin (points) in a TextFrame.
getMarginRight()Returns or sets the right margin (points) in a TextFrame.
setMarginRight(double value)Returns or sets the right margin (points) in a TextFrame.
getMarginTop()Returns or sets the top margin (points) in a TextFrame.
setMarginTop(double value)Returns or sets the top margin (points) in a TextFrame.
getMarginBottom()Returns or sets the bottom margin (points) in a TextFrame.
setMarginBottom(double value)Returns or sets the bottom margin (points) in a TextFrame.
getWrapText()True if text is wrapped at TextFrame’s margins.
setWrapText(byte value)True if text is wrapped at TextFrame’s margins.
getAutofitType()Returns or sets text’s autofit mode.
setAutofitType(byte value)Returns or sets text’s autofit mode.
getRotationAngle()Specifies the custom rotation that is being applied to the text within the bounding box.
setRotationAngle(float value)Specifies the custom rotation that is being applied to the text within the bounding box.

getAnchoringType()

public abstract byte getAnchoringType()

Returns or sets vertical anchor text in a TextFrame. Read/write TextAnchorType.

Returns: byte

setAnchoringType(byte value)

public abstract void setAnchoringType(byte value)

Returns or sets vertical anchor text in a TextFrame. Read/write TextAnchorType.

Parameters:

ParameterTypeDescription
valuebyte

getCenterText()

public abstract byte getCenterText()

If NullableBool.True then text should be centered in box horizontally. Read/write NullableBool.

Returns: byte

setCenterText(byte value)

public abstract void setCenterText(byte value)

If NullableBool.True then text should be centered in box horizontally. Read/write NullableBool.

Parameters:

ParameterTypeDescription
valuebyte

getTextVerticalType()

public abstract byte getTextVerticalType()

Determines text orientation. The resulted value of visual text rotation summarized from this property and custom angle in property RotationAngle. Read/write TextVerticalType.

Returns: byte

setTextVerticalType(byte value)

public abstract void setTextVerticalType(byte value)

Determines text orientation. The resulted value of visual text rotation summarized from this property and custom angle in property RotationAngle. Read/write TextVerticalType.

Parameters:

ParameterTypeDescription
valuebyte

getMarginLeft()

public abstract double getMarginLeft()

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.

Returns: double

setMarginLeft(double value)

public abstract void setMarginLeft(double value)

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.

Parameters:

ParameterTypeDescription
valuedouble

getMarginRight()

public abstract double getMarginRight()

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.

Returns: double

setMarginRight(double value)

public abstract void setMarginRight(double value)

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.

Parameters:

ParameterTypeDescription
valuedouble

getMarginTop()

public abstract double getMarginTop()

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.

Returns: double

setMarginTop(double value)

public abstract void setMarginTop(double value)

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.

Parameters:

ParameterTypeDescription
valuedouble

getMarginBottom()

public abstract double getMarginBottom()

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.

Returns: double

setMarginBottom(double value)

public abstract void setMarginBottom(double value)

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.

Parameters:

ParameterTypeDescription
valuedouble

getWrapText()

public abstract byte getWrapText()

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.

Returns: byte

setWrapText(byte value)

public abstract void setWrapText(byte value)

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.

Parameters:

ParameterTypeDescription
valuebyte

getAutofitType()

public abstract byte getAutofitType()

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.

Returns: byte

setAutofitType(byte value)

public abstract void setAutofitType(byte value)

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.

Parameters:

ParameterTypeDescription
valuebyte

getRotationAngle()

public abstract float getRotationAngle()

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 float.


Consider the case where a shape has a rotation of 90 degrees clockwise applied to it. 
 In addition to this, the text body itself has a rotation of -90 degrees 
 counter-clockwise applied to it. Then the resulting shape would appear to
 be rotated but the text within it would appear as though it had not been rotated at all.

Returns: float

setRotationAngle(float value)

public abstract void setRotationAngle(float value)

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 float.


Consider the case where a shape has a rotation of 90 degrees clockwise applied to it. 
 In addition to this, the text body itself has a rotation of -90 degrees 
 counter-clockwise applied to it. Then the resulting shape would appear to
 be rotated but the text within it would appear as though it had not been rotated at all.

Parameters:

ParameterTypeDescription
valuefloat