ShdwType Element [Visio 2003 SDK Documentation]

Indicates the default shadow type for a page.

Value Description

1

Simple

2

Oblique

Syntax

<ShdwType>
    [Unit]
    [F]
    [Err]>
</ShdwType>

Attributes

Unit

Optional string. Represents a unit of measure. The default is NUM. For details about NUM, see Units of measure.

F

Optional string. Represents the element's formula. This attribute can contain one of the following strings: "someFormula" if the formula exists locally, "No Formula" if the formula is locally deleted or blocked, or "Inh" if the formula is inherited.

If the attribute is not present, the element's formula is a simple constant. For example, <element>5</element>.

Err

Optional string. Indicates that the formula evaluates to an error. The value of Err is the current value (an error message string); the value of the element is the last valid value.

Element properties

Property Value
Name ShdwType 
Minimum Occurrences
Maximum Occurrences

Element information

Parent elements

PageProps

Child elements

None

Remarks

The shadow type described in this element is used whenever the ShapeShdwType element (the shadow type for an individual shape on the page) is set to the page default.

Simple shadow types are described as offset shadows in the user interface (UI). A simple shadow gives the effect of the shape being shadowed onto a parallel plane located some distance behind it. Oblique shadows are described as oblique shadows in the UI and give the effect of a shadow being cast onto a plane perpendicular to the shape.

For a list of predefined simple and oblique shadow types, see the Style list on the Shadows tab of the Page Setup dialog box (File menu).

The ShdwType element is relevant only when contained in a PageSheet element. It is ignored when contained in a DocumentSheet, Shape, or StyleSheet element.

See also

ShdwType cell (Page Properties section)