Frame Properties

The Frame type exposes the following members.

Properties
  Name Description
Public propertyStatic member All
All the Frames that are currently referenced, indexed by ID. This property is only set if TrackAll(true) has previously been called.
Public property BaseUri
The zip URI to the original document on which this frame was based.
Public property Children

The children of this frame.

For example a ParagraphFrame may a number of LineFrames as children.

Public property DrawAnnotations
Whether to highlight and annotate this frame for debugging purposes. The bounds, margins, padding and clip rectangle will be shown if they are available.
Public property LineNumber
The line number within the original document on which this frame was based. If there is no obvious relationship with a particular line then the value will be -1. In this case you may wish to look at the line associated with the parent object. If you want to take advantage of the this property you will typically first want to set Options.FormatXml to true.
Public property Margins
Get the margins for the frame. The margins extend out from the bounds of the frame and are kept clear of other content.
Public property OriginalSelf

The original Frame on which this is based.

A Frame may spawn siblings. For example if a ParagraphFrame spans two pages it will need to be split into two. However the OriginalSelf for both ParagraphFrames will be the first - original - one.

Public property Padding
Get the padding for the frame. The padding extends in from the bounds of the frame and is kept clear of content within the frame.
Public property Parent

The parent of this Frame.

For example the parent of a TextRunFrame is typically a LineFrame. The parent of that is a ParagraphFrame.

Public property ReflowCount
The number of times which this Frame has been asked to reflow.
Public property StyleStore
The CascadingStyleStore for this Frame.
Public property Summary
A human readable summary of this frame and the properties associated with it.
Top
See Also