ExtentHeight, ExtentWidth, ExtentLeft, ExtentTop Properties

Structured Graphics Control

Sets the height, width, left, and top values of the shape within the control's coordinate space (as defined by the WIDTH and HEIGHT parameters of the OBJECT tag's STYLE attribute).

Syntax

HTML <PARAM NAME="ExtentHeight" VALUE="height">
<PARAM NAME="ExtentWidth" VALUE="width">
<PARAM NAME="ExtentLeft" VALUE="left">
<PARAM NAME="ExtentTop" VALUE="top">

Possible Values

height
Height of the shape (in pixels).
width
Width of the shape (in pixels).
left
Left edge of the shape (in pixels).
top
Top edge of the shape (in pixels).

Remarks

Top and left values can be set without setting height and width values, but height and width values can be set only if the top and left values are set. An example of the use of this property is as follows: if you set ExtentTop to 0 and ExtentLeft to 0, instead of drawing the shape from the center of the control's coordinate space (as defined in the STYLE attribute of the OBJECT tag), the shape will be drawn from the upper-left corner of the coordinate space.


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.