Returns the Story above the indicated Story. Returns NULL if there is none. If passed a NULL handle, returns the top-most Story in the current drawing.
FUNCTION GetStoryAbove(story : HANDLE): HANDLE;def vs.GetStoryAbove(story):
return HANDLE| Name | Type | Description |
|---|---|---|
| story | HANDLE | The indicated Story for which the Story above it is desired. |
VAR
baseStory:HANDLE;
storyAbove:HANDLE;
BEGIN
baseStory := GetStoryOfLayer(ActLayer);
storyAbove := StoryAbove(baseStory);VS Functions: GetStoryBelow | GetNumStories | GetStoryOfLayer
Availability: from Vectorworks 2012