Word.Interfaces.FrameLoadOptions interface
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Represents a frame. The Frame
object is a member of the Word.FrameCollection object.
Remarks
Properties
$all | Specifying |
height | Specifies the height (in points) of the frame. |
height |
Specifies a |
horizontal |
Specifies the horizontal distance between the frame and the surrounding text, in points. |
horizontal |
Specifies the horizontal distance between the edge of the frame and the item specified by the |
lock |
Specifies if the frame is locked. |
range | Returns a |
relative |
Specifies the relative horizontal position of the frame. |
relative |
Specifies the relative vertical position of the frame. |
shading | Returns a |
text |
Specifies if document text wraps around the frame. |
vertical |
Specifies the vertical distance (in points) between the frame and the surrounding text. |
vertical |
Specifies the vertical distance between the edge of the frame and the item specified by the |
width | Specifies the width (in points) of the frame. |
width |
Specifies the rule used to determine the width of the frame. |
Property Details
$all
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifying $all
for the load options loads all the scalar properties (such as Range.address
) but not the navigational properties (such as Range.format.fill.color
).
$all?: boolean;
Property Value
boolean
height
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the height (in points) of the frame.
height?: boolean;
Property Value
boolean
Remarks
heightRule
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies a FrameSizeRule
value that represents the rule for determining the height of the frame.
heightRule?: boolean;
Property Value
boolean
Remarks
horizontalDistanceFromText
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the horizontal distance between the frame and the surrounding text, in points.
horizontalDistanceFromText?: boolean;
Property Value
boolean
Remarks
horizontalPosition
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the horizontal distance between the edge of the frame and the item specified by the relativeHorizontalPosition
property.
horizontalPosition?: boolean;
Property Value
boolean
Remarks
lockAnchor
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies if the frame is locked.
lockAnchor?: boolean;
Property Value
boolean
Remarks
range
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Returns a Range
object that represents the portion of the document that's contained within the frame.
range?: Word.Interfaces.RangeLoadOptions;
Property Value
Remarks
relativeHorizontalPosition
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the relative horizontal position of the frame.
relativeHorizontalPosition?: boolean;
Property Value
boolean
Remarks
relativeVerticalPosition
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the relative vertical position of the frame.
relativeVerticalPosition?: boolean;
Property Value
boolean
Remarks
shading
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Returns a ShadingUniversal
object that refers to the shading formatting for the frame.
shading?: Word.Interfaces.ShadingUniversalLoadOptions;
Property Value
Remarks
textWrap
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies if document text wraps around the frame.
textWrap?: boolean;
Property Value
boolean
Remarks
verticalDistanceFromText
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the vertical distance (in points) between the frame and the surrounding text.
verticalDistanceFromText?: boolean;
Property Value
boolean
Remarks
verticalPosition
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the vertical distance between the edge of the frame and the item specified by the relativeVerticalPosition
property.
verticalPosition?: boolean;
Property Value
boolean
Remarks
width
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the width (in points) of the frame.
width?: boolean;
Property Value
boolean
Remarks
widthRule
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the rule used to determine the width of the frame.
widthRule?: boolean;
Property Value
boolean