ACC: Change Border Properties for Chart Using OLE AutomationLast reviewed: August 28, 1997Article ID: Q154584 |
The information in this article applies to:
SUMMARYThis article demonstrates how to use Automation to modify properties of the border object in a Microsoft Graph object. This article assumes that you are familiar with Visual Basic for Applications and with creating Microsoft Access applications using the programming tools provided with Microsoft Access. For more information about Visual Basic for Applications, please refer to your version of the "Building Applications with Microsoft Access" manual.
MORE INFORMATIONIt is possible to change the properties of a Microsoft Graph chart's border object using Automation. It is possible to programmatically change such border object properties as BorderColor, LineStyle, and Weight.
Example - Change the Color, LineStyle, and Weight of a Chart BorderThe following example steps through creating a Microsoft Graph chart in a form, then changes the chart's default border to a thick, red dashed line:
REFERENCESFor more information about Microsoft Graph, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q128364 TITLE : Microsoft Graph VBA Help File Available on MSLFor more information about the Border Object and modifying its color, line and weight, open the Microsoft Graph Help file (you must have the VBA_GRP.HLP Help file installed), and search on "Border Object," "RGB function," "LineStyle Property," and "Weight Property." For more information about Automation, search the Help Index for "Automation," and "Automation with Microsoft Access," or ask the Microsoft Access 97 Office Assistant. For more examples of Automation between Microsoft Access and Microsoft Graph, obtain the Automation Help File as described in the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q148124 TITLE: : OLE Automation Help File (95) Available on MSL Keywords : kbinterop kbtool IntpGrph Version : 7.0 97 Platform : WINDOWS Hardware : x86 Issue type : kbhowto |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |