編輯

共用方式為


ShadowFormat Interface

Definition

Represents shadow formatting for a shape.

public interface class ShadowFormat
[System.Runtime.InteropServices.Guid("000209CC-0000-0000-C000-000000000046")]
public interface ShadowFormat
type ShadowFormat = interface
Public Interface ShadowFormat
Attributes

Remarks

Use the Shadow property to return a ShadowFormat object.

Properties

Application

Returns a Application object that represents the Microsoft Word application.

Blur

Returns or sets a Single that represents the blur level for a shadow format. Read/write.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

ForeColor

Returns or sets a ColorFormat object that represents the foreground color for the shadow.

Obscured

MsoTrue if the shadow of the specified shape appears filled in and is obscured by the shape, even if the shape has no fill. MsoFalse if the shadow has no fill and the outline of the shadow is visible through the shape if the shape has no fill.

OffsetX

Returns or sets the horizontal offset (in points) of the shadow from the specified shape. A positive value offsets the shadow to the right of the shape; a negative value offsets it to the left.

OffsetY

Returns or sets the vertical offset (in points) of the shadow from the specified shape. A positive value offsets the shadow below the shape; a negative value offsets it above the shape.

Parent

Returns an object that represents the parent object of the specified object.

RotateWithShape

Returns or sets an MsoTriState that represents whether to rotate the shadow when rotating the shape. Read/write.

Size

Returns or sets a Single that represents the width of the shadow. Read/write.

Style

Returns or sets a MsoShadowType that represents the type of shadow formatting to apply to a shape. Read/write.

Transparency

Returns or sets the degree of transparency of the specified fill, shadow, or line as a value between 0.0 (opaque) and 1.0 (clear).

Type

Returns or sets the shape shadow type.

Visible

True if the specified object, or the formatting applied to it, is visible.

Methods

IncrementOffsetX(Single)

Changes the horizontal offset of the shadow by the specified number of points.

IncrementOffsetY(Single)

Changes the vertical offset of the shadow by the specified number of points.

Applies to