Upravit

Sdílet prostřednictvím


Rectangle Interface

Definition

Represents a portion of text or a graphic in a page. Use the Rectangle object and related methods and properties for programmatically defining page layout in a document.

public interface class Rectangle
[System.Runtime.InteropServices.Guid("ADD4EDF3-2F33-4734-9CE6-D476097C5ADA")]
public interface Rectangle
type Rectangle = interface
Public Interface Rectangle
Attributes

Remarks

Use the Item[Int32] method to return a specific Rectangle object.

Use the RectangleType property to determine the type of rectangle.

Properties

Application

Returns a Application object that represents the Microsoft Word application.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

Height

Returns or sets the height of the specified rectangle, in points.

Left

Returns or sets an integer that represents the horizontal position of the specified rectangle, measured in points.

Lines

Returns a Lines collection that represents the lines in a specified portion of text in a page.

Parent

Returns an object that represents the parent object of the specified object.

Range

Returns a Range object that represents the portion of a document that's contained in the specified object.

RectangleType

Returns a WdRectangleType constant that represents the type for the specified rectangle.

Top

Returns or sets the vertical position of the specified rectangle, in points.

Width

Returns or sets the width of the specified rectangle, in points.

Applies to