SetShadow Method

Build 1501 on 14/Nov/2017  This topic last edited on: 23/Mar/2016, at 12:23

Description

Set or reset the shadow with parametrized characters spacing, X and Y position of the shadow.

See also Shadow Property

Syntax

object.SetShadow [ bOn,nEnlarge,nMoveX,nMoveY]

object

Required. Object name, returned by Text.GetTextStatus, Text.GetParaTextStatus and Text.GetDefaultTextStatus functions

bOn

Boolean. True to display shadow, False to hide it.

nEnlarge

Integer. Extra spacing between characters when shadow is applied. Expressed in thousands of EMW. Set to 0 for no extra spacing.

nMoveX

Integer. X position of shadow. Expressed in thousands of EMW. Set to negative values for left shadow and for positive for right shadow.

nEnlarge

Integer. Y position of shadow. Expressed in thousands of EMW. Set to negative values for top shadow and for positive for bottom shadow.

See also

Other shadow and outline functions