LayerGetClipΒΆ
LayerGetClip return the clipping flag. The flag gives an information on which side of the diagram the datasets are clipped.
- nClip = LayerGetClip(hLayer)
Return Value
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 checks if clipping is set for the left and right border:
nClip = LayerGetClip(hLayer);
if (nClip & G_CLIP_LEFT && nClip & G_CLIP_RIGHT) {
// Clipping is on
}
Parameters
- hLayer
hLayer is the handle of a diagram (layer).
See also
id-711342