VisWebPageSettings.Search property
Determines whether the Search Pages control for searching for shapes in a drawing is displayed on a webpage. Read/write.
Syntax
expression.Search
expression An expression that returns a VisWebPageSettings object.
Return value
Long
Remarks
Search returns non-zero (True) if the Search Pages control is displayed after the drawing is exported to a webpage; otherwise, it returns zero (False). The default is True.
Set Search to a non-zero value (True) to display the Search Pages control after the drawing is exported to a webpage; otherwise, set it to zero (False).
This property corresponds to the Search Pages check box under Publishing Options on the General tab of the Save As Web Page dialog box (BackstageButton tab > Save As > Save as type list > Web Page (*.htm;*.html) > Publish).
If your Visual Studio solution includes the Microsoft.Office.Interop.Visio.SaveAsWeb reference, this property maps to the following types:
- Microsoft.Office.Interop.Visio.SaveAsWeb.IVisWebPageSettings.Search
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.