HttpCapabilitiesBase.ScreenPixelsWidth 속성

정의

디스플레이의 대략적인 너비를 픽셀 단위로 반환합니다.

public:
 virtual property int ScreenPixelsWidth { int get(); };
public virtual int ScreenPixelsWidth { get; }
member this.ScreenPixelsWidth : int
Public Overridable ReadOnly Property ScreenPixelsWidth As Integer

속성 값

디스플레이의 대략적인 너비(픽셀)입니다. 기본값은 96입니다.

설명

반환된 값은 가정된 문자 크기 및 문자 너비에서 파생될 수 있습니다. 픽셀 너비를 결정하는 알고리즘은 기본 글꼴 크기(.config 파일에서), 디바이스별 크기(다시 .config 파일에서) 및 디바이스에서 보낸 명시적 헤더의 조합을 사용합니다. 이러한 값이 반드시 정확한 것은 아닙니다(특히 가변 너비 글꼴의 경우 이러한 값은 근사치). 일부 디바이스는 실제 너비와 유사하게 내부 기본값을 사용합니다.

적용 대상