MapBaseScrollMarginTop Property |
Return the top scroll margin for this map
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax public abstract short ScrollMarginTop { get; }
Property Value
Type:
Int16Remarks Scroll margins are used to maintain some distance between a sprite and the
edge of the map. Functions that scroll the map generally call
ScrollSpriteIntoView(SpriteBase, Boolean), which, when given the appropriate
parameters, will use the scroll margin settings on the map to ensure that the sprite
is scrolled far enough into the view that the scroll margins are maintained.
See Also