FrameFormat
Overview
FrameFormat is a class in Aspose.Words FOSS for Java.
Represents frame related formatting for a paragraph.
Edition status of its 24 listed members (a property and its accessor methods are listed separately, overloads once): 24 not yet exercised by a verified example.
This class declares 12 methods for FrameFormat objects in Java programs.
Available methods include: getHeight, getHeightRule, getHorizontalAlignment, getHorizontalDistanceFromText, getHorizontalPosition, getRelativeHorizontalPosition, getRelativeVerticalPosition, getVerticalAlignment, getVerticalDistanceFromText, getVerticalPosition, getWidth, isFrame.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: frame, height, heightRule, horizontalAlignment, horizontalDistanceFromText, horizontalPosition, and 6 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
heightRule | int | Read | Gets the rule for determining the height of the specified frame. |
height | double | Read | Gets the height of the specified frame. |
horizontalDistanceFromText | double | Read | Gets horizontal distance between a frame and the surrounding text, in points. |
horizontalPosition | double | Read | Gets horizontal distance between the edge of the frame and the item specified by the RelativeHorizontalPosition property. |
relativeHorizontalPosition | int | Read | Gets the relative horizontal position of a frame. |
relativeVerticalPosition | int | Read | Gets the relative vertical position of a frame. |
verticalDistanceFromText | double | Read | Specifies vertical distance (in points) between a frame and the surrounding text. |
verticalPosition | double | Read | Gets vertical distance between the edge of the frame and the item specified by the RelativeVerticalPosition property. |
width | double | Read | Gets the width of the specified frame, in points. |
verticalAlignment | int | Read | Gets vertical alignment of the specified frame. |
horizontalAlignment | int | Read | Gets horizontal alignment of the specified frame. |
frame | boolean | Read | Returns true if the paragraph is a frame. |
Methods
| Signature | Description |
|---|---|
getHeightRule() → int | Gets the rule for determining the height of the specified frame. |
getHeight() → double | Gets the height of the specified frame. |
getHorizontalDistanceFromText() → double | Gets horizontal distance between a frame and the surrounding text, in points. |
getHorizontalPosition() → double | Gets horizontal distance between the edge of the frame and the item specified by the RelativeHorizontalPosition property. |
getRelativeHorizontalPosition() → int | Gets the relative horizontal position of a frame. |
getRelativeVerticalPosition() → int | Gets the relative vertical position of a frame. |
getVerticalDistanceFromText() → double | Specifies vertical distance (in points) between a frame and the surrounding text. |
getVerticalPosition() → double | Gets vertical distance between the edge of the frame and the item specified by the RelativeVerticalPosition property. |
getWidth() → double | Gets the width of the specified frame, in points. |
getVerticalAlignment() → int | Gets vertical alignment of the specified frame. |
getHorizontalAlignment() → int | Gets horizontal alignment of the specified frame. |
isFrame() → boolean | Returns true if the paragraph is a frame. |