MapSuiteGisEditor/GisEditorInfrastructure/Plugins/Styles/StyleLayerListItem.cs
/// <summary>
/// Gets the preview image core.
/// </summary>
/// <param name="screenWidth">Width of the screen.</param>
/// <param name="screenHeight">Height of the screen.</param>
/// <returns>The previewImage buffer bytes arry</returns>
Gets the preview image core.
Gets the preview image core .
protected virtual byte[] GetPreviewImageCore(int screenWidth, int screenHeight)
        {
            var actualStyle = ConcreteObject as Style;
            if (actualStyle != null)
            {
                return actualStyle.GetPreviewBinary(screenWidth, screenHeight);
            }
            else return null;
        }
protected virtual byte [ ] GetPreviewImageCore ( int screenWidth , int screenHeight ) { var actualStyle = ConcreteObject as Style ; if ( actualStyle != null ) { return actualStyle . GetPreviewBinary ( screenWidth , screenHeight ) ; } else return null ; }
Gets the preview image core.
Gets the preview image core .
The previewImage buffer bytes arry
The previewImage buffer bytes arry
screenWidth
int
Width of the screen.
Width of the screen .
screenHeight
int
Height of the screen.
Height of the screen .