LayerSetClipΒΆ
LayerSetClip sets if datasets are clipped at the diagram borders.
-
bool = LayerSetClip(hLayer, nClip)
Return Value
If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0).
Parameters
-
hLayer
hLayer is the handle of a diagram (layer).
-
nClip
nClip is an OR combination of the following values.
Value Description G_CLIP_LEFT Clip at the left border G_CLIP_RIGHT Clip at the right border G_CLIP_TOP Clip at the top border G_CLIP_BOTTOM Clip at the bottom border
The following example set clipping for the left and right border:
LayerSetClip(hLayer, G_CLIP_LEFT | G_CLIP_RIGHT);
The following example disables clipping:
LayerSetClip(hLayer, 0);
See also
id-1497774