Click or drag to resize

Frame Class

Represents Frame object used in framed document.
Inheritance Hierarchy
System Object
Spire.Doc OwnerHolder
Spire.Doc.Formatting Frame

Namespace: Spire.Doc.Formatting
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public class Frame : OwnerHolder

The Frame type exposes the following members.

Properties
Name Description
Public property Document
Gets the document.
(Inherited from OwnerHolder .)
Public property FrameAnchorLock
Gets or sets whether lock the anchor of Frame or not.
Public property FrameHeightRule
Gets or sets Height Rule of Frame.
Public property FrameHorizontalAlignment
Gets or sets the horizontal alignment of the frame.
Public property FrameHorizontalOrigin
Gets or sets relative to what the frame is positioned horizontally.
Public property FrameHorizontalPosition
Gets or sets the horizontal position of the frame.
Public property FrameVerticalAlignment
Gets or sets the vertical alignment of the frame.
Public property FrameVerticalOrigin
gets or sets relative to what the frame is positioned vertically.
Public property FrameVerticalPosition
Gets or sets the vertical position of the frame.
Public property FrameWidthRule
Gets or sets Width Rule of Frame.
Public property IsFrame
Gets a value indicating whether this instance is frame.
Public property WrapFrameAround
Gets or sets wrap type of Frame.
Top
Methods
Name Description
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetHeight
Gets height of this frame
Public method GetHorizontalDistanceFromText
Gets the distance between the document text and left or right edge of the frame.
Public method GetHorizontalPosition
Gets the position of the left edge of the frame
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Public method GetVerticalDistanceFromText
Gets the distance between the document text and top or bottom edge of the frame.
Public method GetVerticalPosition
Gets the position of the top edge of the frame
Public method GetWidth
Gets width of this frame
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method SetHeight
Sets height of this frame
Public method SetHorizontalDistanceFromText
Sets the distance between the document text and left or right edge of the frame.
Public method SetHorizontalPosition
Sets the position of the left edge of the frame
Public method SetVerticalDistanceFromText
Sets the distance between the document text and top or bottom edge of the frame.
Public method SetVerticalPosition
Sets the position of the top edge of the frame
Public method SetWidth
Sets width of this frame
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
Fields
Name Description
Protected field m_doc (Inherited from OwnerHolder .)
Top
See Also