IHTMLAnchorElement2::shape Property

Gets or sets the shape of the object.

Syntax

HRESULT IHTMLAnchorElement2::get_shape(BSTR *p);
HRESULT IHTMLAnchorElement2::put_shape(BSTR v);

Parameters

  • p
    Pointer to a variable of type BSTR that receives one of the values listed in Possible Values.
  • v
    BSTR that specifies one of the values listed in Possible Values.

Possible Values

circ Circle
circle Circle
poly Polygon
polygon Polygon
rect Rectangle
rectangle Rectangle

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

In Microsoft Internet Explorer 6 and greater this property applies to the a object.