Word.Interfaces.DropCapData interface
An interface describing the data returned by calling dropCap.toJSON().
Properties
| distance |
Gets the distance (in points) between the dropped capital letter and the paragraph text. |
| font |
Gets the name of the font for the dropped capital letter. |
| lines |
Gets the height (in lines) of the dropped capital letter. |
| position | Gets the position of the dropped capital letter. |
Property Details
distanceFromText
Gets the distance (in points) between the dropped capital letter and the paragraph text.
distanceFromText?: number;
Property Value
number
Remarks
fontName
Gets the name of the font for the dropped capital letter.
fontName?: string;
Property Value
string
Remarks
linesToDrop
Gets the height (in lines) of the dropped capital letter.
linesToDrop?: number;
Property Value
number
Remarks
position
Gets the position of the dropped capital letter.
position?: Word.DropPosition | "None" | "Normal" | "Margin";
Property Value
Word.DropPosition | "None" | "Normal" | "Margin"