編輯

共用方式為


ShadowFormat.OffsetY Property

Definition

Returns or sets the vertical offset of the shadow from the specified shape in points.

public:
 property float OffsetY { float get(); void set(float value); };
public float OffsetY { get; set; }
Public Property OffsetY As Single

Property Value

Remarks

A positive value offsets the shadow to the right of the shape; a negative value offsets it to the left.

If you want to nudge a shadow horizontally or vertically from its current position without having to specify an absolute position, use the IncrementOffsetX(Single) method or the IncrementOffsetY(Single) method.

Applies to