WebComponentFormat Property

       

Returns the WebComponentFormat object associated with the specified shape.

expression.WebComponentFormat

expression   Required. An expression that returns one of the objects in the Applies To list.

Remarks

The WebComponentFormat object's functionality is not accessible through Visual Basic; it is recommended not to access the object using this property.

Example

The following example assigns an object variable to the WebComponentFormat object associated with the first shape on page one of the active publication.

Dim wcfTemp As Object

Set wcfTemp = ActiveDocument.Pages(1) _
    .Shapes(1).WebComponentFormat