Word.Interfaces.InlinePictureData interface
An interface describing the data returned by calling inlinePicture.toJSON()
.
Properties
alt |
Specifies a string that represents the alternative text associated with the inline image. |
alt |
Specifies a string that contains the title for the inline image. |
height | Specifies a number that describes the height of the inline image. |
hyperlink | Specifies a hyperlink on the image. Use a '#' to separate the address part from the optional location part. |
image |
Gets the format of the inline image. |
lock |
Specifies a value that indicates whether the inline image retains its original proportions when you resize it. |
width | Specifies a number that describes the width of the inline image. |
Property Details
altTextDescription
Specifies a string that represents the alternative text associated with the inline image.
altTextDescription?: string;
Property Value
string
Remarks
altTextTitle
Specifies a string that contains the title for the inline image.
altTextTitle?: string;
Property Value
string
Remarks
height
Specifies a number that describes the height of the inline image.
height?: number;
Property Value
number
Remarks
hyperlink
Specifies a hyperlink on the image. Use a '#' to separate the address part from the optional location part.
hyperlink?: string;
Property Value
string
Remarks
imageFormat
Gets the format of the inline image.
imageFormat?: Word.ImageFormat | "Unsupported" | "Undefined" | "Bmp" | "Jpeg" | "Gif" | "Tiff" | "Png" | "Icon" | "Exif" | "Wmf" | "Emf" | "Pict" | "Pdf" | "Svg";
Property Value
Word.ImageFormat | "Unsupported" | "Undefined" | "Bmp" | "Jpeg" | "Gif" | "Tiff" | "Png" | "Icon" | "Exif" | "Wmf" | "Emf" | "Pict" | "Pdf" | "Svg"
Remarks
lockAspectRatio
Specifies a value that indicates whether the inline image retains its original proportions when you resize it.
lockAspectRatio?: boolean;
Property Value
boolean
Remarks
width
Specifies a number that describes the width of the inline image.
width?: number;
Property Value
number
Remarks
Office Add-ins