Border
The Border property enables you to specify whether to display the advertisements with a surrounding border.
Syntax
Border = size
Parameters
-
size
-
Specifies the thickness of the border that surrounds the displayed advertisement. The default is the value set in the header of Rotator Schedule file.
Example
The following example displays the advertisements without a border.
<%
Set ad = Server.CreateObject("MSWC.AdRotator")
ad.Border = 0
%>
<%= ad.GetAdvertisement("/ads/adrot.txt") %>
Applies To
Ad Rotator Component
See Also
Clickable, TargetFrame
© 1997 by Microsoft Corporation. All rights reserved.