編輯

共用方式為


ShadowFormat.OffsetX Property

Definition

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

public:
 property float OffsetX { float get(); void set(float value); };
public float OffsetX { get; set; }
Public Property OffsetX 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