PowerPoint.Interfaces.TextRangeUpdateData interface
An interface for updating data on the TextRange
object, for use in textRange.set({ ... })
.
Properties
length | Gets or sets the length of the range that this |
start | Gets or sets zero-based index, relative to the parent text frame, for the starting position of the range that this |
text | Represents the plain text content of the text range. |
Property Details
length
Gets or sets the length of the range that this TextRange
represents. Throws an InvalidArgument
exception when set with a negative value or if the value is greater than the length of the available text from the starting point.
length?: number;
Property Value
number
Remarks
start
Gets or sets zero-based index, relative to the parent text frame, for the starting position of the range that this TextRange
represents. Throws an InvalidArgument
exception when set with a negative value or if the value is greater than the length of the text.
start?: number;
Property Value
number
Remarks
text
Represents the plain text content of the text range.
text?: string;
Property Value
string
Remarks
Office Add-ins