Edit

Share via


Word.Interfaces.DropCapData interface

An interface describing the data returned by calling dropCap.toJSON().

Properties

distanceFromText

Gets the distance (in points) between the dropped capital letter and the paragraph text.

fontName

Gets the name of the font for the dropped capital letter.

linesToDrop

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

[ API set: WordApiDesktop 1.4 ]

fontName

Gets the name of the font for the dropped capital letter.

fontName?: string;

Property Value

string

Remarks

[ API set: WordApiDesktop 1.4 ]

linesToDrop

Gets the height (in lines) of the dropped capital letter.

linesToDrop?: number;

Property Value

number

Remarks

[ API set: WordApiDesktop 1.4 ]

position

Gets the position of the dropped capital letter.

position?: Word.DropPosition | "None" | "Normal" | "Margin";

Property Value

Word.DropPosition | "None" | "Normal" | "Margin"

Remarks

[ API set: WordApiDesktop 1.4 ]