protected override void GetMediaFeatures(ref media_features media) { base.GetMediaFeatures(ref media); media.device_width = media.width; media.device_height = media.height; media.resolution = 96; media.color = 24; media.type = media_type.media_type_all; }
public void get_media_features(media_features media) { get_client_rect(out var client); media.type = media_type.screen; media.width = client.width; media.height = client.height; // var screen = Screen.FromControl(this); // var screenBounds = screen.Bounds; // media.device_width = screenBounds.Width; // media.device_height = screenBounds.Height; media.color = 8; media.monochrome = 0; media.color_index = 256; media.resolution = 96; }
public void get_media_features(media_features media) { }