AlphaTab.Rendering.ScoreRenderer.Resize C# (CSharp) Method

Resize() public method

public Resize ( int width ) : void
width int
return void
        public void Resize(int width)
        {
            if (RecreateLayout())
            {
                Invalidate();
            }
            else if (Layout.SupportsResize)
            {
                OnPreRender();
                Settings.Width = width;
                Layout.Resize();
                Layout.RenderAnnotation();
                OnRenderFinished();
                OnPostRender();
            }
        }