Introduction
  Welcome
  The Web Reporting Solution
  What is ExcelWriter?
  Features and Benefits
  New in This Version  V4
  Requirements
  Edition Differences
  Frequently Asked Questions
  Troubleshooting

Quick Start
  Creating Your First Spreadsheet
  Adding a Formula
  Adding Formatting
  Importing from a Database

Features In Depth
  Addressing Cells
  Setting Values
  Output Options
  Adding Charts
  Reading an Existing Spreadsheet
  Modifying an Existing Spreadsheet
  The Range Object
  Template Spreadsheets
  How to Use Templates
  ExcelApp.Open vs. ExcelTemplate
  Using ExcelTemplate with PivotTables
  Templates and Charts
  Reliable Spreadsheet Download  V4
  Page Setup
  Formatting Headers & Footers
  Protecting your Worksheet
  Multilingual Support  V4
  XML Import

HotCell Technology  V4
  What is HotCell Technology?
  Upload Example
  Advanced POST Example
  Advanced Upload Example

Programmer's Reference
  Object Model
      ExcelTemplate Object
      ExcelApplication Object
         3DProperties Object
         Area Object
         Axis Object
         Cells Object
         Cell Object
         Charts Object
         Chart Object
         ChartFrame Object
         Font Object
         Line Object
         PageSetup Object
         Pictures Object
         Picture Object
         Range Object
         SeriesCollection Object
         Series Object
         Style Object
         Worksheets Object
         Worksheet Object
  Formula Functions
  Formula Calculation Operators
  Formatting Codes
  Chart Codes

Installation
  Quick Installation
  Configuring IIS
  Security Considerations

External Links
  ExcelWriter Home Page
  Technical Support
  ExcelWriter Demos
  SoftArtisans Home Page
  E-mail General Questions
  E-mail Technical Support
  Legal Information

Object Model ExcelApplication ExcelTemplate Worksheets Worksheet Cells Cell Range Style Font Charts
Chart SeriesCollection Series 3DProperties Axis ChartFrame Line Area Pictures Picture PageSetup


The Area Object (SAArea)

* The Area object is not available in ExcelWriterSE, ExcelWriterLE, or ExcelWriterFree.

The Area object represents the appearance of a chart area. ExcelWriter includes the following area objects:

Area Methods and Properties

*This feature is not available in ExcelWriterSE, ExcelWriterLE, or ExcelWriterFree.

Area Methods and Properties

AreaFormatting*

Sets or retrieves the type of formatting applied to an Area object. The three types of formatting and their codes are,

saxlsCreationAutomatic0
saxlsCreationNone1
saxlsCreationCustom2

When AreaFormatting is set to saxlsCreationAutomatic (0), the default formatting settings will be applied to the Area object. SaxlsCreationCustom (2) enables custom formatting assigned to the Area object (colors or pattern). SaxlsCreationNone will remove all Area formatting (default or custom).

The following sets the ChartArea's AreaFormatting to saxlsCreationNone, disabling all ChartArea formatting.

chart.chartarea.area.AreaFormatting = 1
		

Top

BackgroundColor*

Sets or retrieves the background color of an Area object (Series Area, MarkerFormat, Wall3D, or ChartFrame Area). Use RGB values to assign colors, as in the following example.

chart.chartarea.area.backgroundcolor = rgb(0,0,255) '--- blue
		

Top

ForegroundColor*

Sets or retrieves the foreground color of an Area object (Series Area, MarkerFormat, Wall3D, or ChartFrame Area). Use RGB values to assign colors, as in the following example.

chart.chartarea.area.foregroundcolor =  rgb(255,0,0) '--- red
		

Top

Pattern*

Sets or retrieves the background pattern of an Area object (Series Area, MarkerFormat, Wall3D, or ChartFrame Area). ExcelWriter supports nineteen patterns, listed in the table below.

No Pattern0
0% Pattern1
50% Pattern2
70% Pattern3
25% Pattern4
Dark Horizontal5
Dark Vertical6
Dashed Downward Diagonal7
Dashed Upward Diagonal8
Small Checkerboard9
Trellis10
Light Horizontal11
Light Vertical12
Wide Downward diagonal13
Dark Upward diagonal14
Small Grid15
60% Pattern16
20% Pattern17
10% Pattern18

The following example demonstrates setting the legend pattern to Small Grid.

chart.chartarea.area.pattern = 15
		

Top

*This feature is not available in ExcelWriterSE, ExcelWriterLE, or ExcelWriterFree.


Object Model ExcelApplication ExcelTemplate Worksheets Worksheet Cells Cell Range Style Font Charts
Chart SeriesCollection Series 3DProperties Axis ChartFrame Line Area Pictures Picture PageSetup


Copyright © 2003, SoftArtisans, Inc.