Share via


Shape.WebComponentFormat Property (Publisher)

Returns the WebComponentFormat object associated with the specified shape.

Syntax

expression .WebComponentFormat

expression A variable that represents a Shape object.

Return Value

WebComponentFormat

Remarks

The WebComponentFormat object's functionality is not accessible through Microsoft Visual Basic. It is not recommended 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