LayerBaseScrollSpriteIntoView Method |
Scroll the currently active view on the map so the specified sprite is visible.
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax public void ScrollSpriteIntoView(
SpriteBase sprite,
bool useScrollMargins
)
Parameters
- sprite
- Type: (Default Namespace)SpriteBase
Sprite to scroll into view - useScrollMargins
- Type: SystemBoolean
True to scroll the sprite so that it is also within
the scroll margins, false to only scroll it so it is fully visible in the view.
See Also