Bloom.Edit.EditingModel.SetPageZoom C# (CSharp) Method

SetPageZoom() private method

Set a style on the body of the main content page that will zoom it to the extent the user currently prefers.
private SetPageZoom ( ) : void
return void
        private void SetPageZoom()
        {
            var body = _domForCurrentPage.Body;
            var pageZoom = Settings.Default.PageZoom ?? "1.0";
            body.SetAttribute("style", string.Format("transform: scale({0},{0})", pageZoom));
            CheckForBL2364("read page zoom");
        }