Share via


LineDisplayAttributes.ScreenSizeInCharacters Property

Definition

Gets or sets the current screen size.

public:
 property Size ScreenSizeInCharacters { Size get(); void set(Size value); };
Size ScreenSizeInCharacters();

void ScreenSizeInCharacters(Size value);
public Size ScreenSizeInCharacters { get; set; }
var size = lineDisplayAttributes.screenSizeInCharacters;
lineDisplayAttributes.screenSizeInCharacters = size;
Public Property ScreenSizeInCharacters As Size

Property Value

The current screen size in characters.

Remarks

When the device supports multiple screen sizes (LineDisplayCapabilities.CanChangeScreenSize is True) this writeable property configures the current screen size. When bitmaps are also supported, changing the ScreenSizeinCharacters property may cause MaxBitmapSize to change to a new value.

When the device supports only one screen size (LineDisplayCapabilities.CanChangeScreenSize is False) this property supports only one value, behaving as a read-only property.

Changes to this property are committed to the device on the next call to ClaimedLineDisplay.TryUpdateAttributesAsync(LineDisplayAttributes).

Applies to

See also