GlyphRun.ComputeAlignmentBox Method

Definition

Retrieves the alignment box for the GlyphRun.

public:
 System::Windows::Rect ComputeAlignmentBox();
public System.Windows.Rect ComputeAlignmentBox ();
member this.ComputeAlignmentBox : unit -> System.Windows.Rect
Public Function ComputeAlignmentBox () As Rect

Returns

Rect

A Rect that represents the alignment box for the GlyphRun.

Remarks

The returned Rect is relative to the origin of the GlyphRun.

Applies to