LineDisplayWindow 類別

定義

表示線條顯示視窗。

public ref class LineDisplayWindow sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class LineDisplayWindow final : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class LineDisplayWindow final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class LineDisplayWindow : System.IDisposable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class LineDisplayWindow : System.IDisposable
Public NotInheritable Class LineDisplayWindow
Implements IDisposable
繼承
Object Platform::Object IInspectable LineDisplayWindow
屬性
實作

Windows 需求

裝置系列
Windows 10 Creators Update (已於 10.0.15063.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)

備註

版本歷程記錄

Windows 版本 SDK 版本 已新增值
1709 16299 資料指標
1709 16299 Marquee
1709 16299 ReadCharacterAtCursorAsync
1709 16299 TryDisplayStorageFileBitmapAtCursorAsync (StorageFile)
1709 16299 TryDisplayStorageFileBitmapAtCursorAsync (StorageFile,LineDisplayHorizontalAlignment,LineDisplayVerticalAlignment)
1709 16299 TryDisplayStorageFileBitmapAtCursorAsync (StorageFile,LineDisplayHorizontalAlignment,LineDisplayVerticalAlignment,Int32)
1709 16299 TryDisplayStorageFileBitmapAtPointAsync (StorageFile,Point)
1709 16299 TryDisplayStorageFileBitmapAtPointAsync (StorageFile,Point,Int32)
1709 16299 TryDisplayStoredBitmapAtCursorAsync

屬性

Cursor

取得線條顯示視窗的游標。

InterCharacterWaitInterval

取得或設定顯示連續字元之間的延遲間隔。

Marquee

取得線條顯示 Marquee。

SizeInCharacters

取得視窗的維度,以 (列和資料行) 的字元行數。

方法

Close()

關閉線條顯示視窗資源,終結裝置上的視窗。

Dispose()

執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之應用程式定義的工作。

ReadCharacterAtCursorAsync()

嘗試以非同步方式讀取目前在目前游標位置顯示的字元。

TryClearTextAsync()

清除目前的視窗。 將所有字元變更為空白、清除視窗中顯示的任何點陣圖,並將 Cursor.Position 設定為 {0,0} 。

TryDisplayStorageFileBitmapAtCursorAsync(StorageFile)

嘗試從目前游標位置的儲存體檔案非同步顯示點陣圖。

TryDisplayStorageFileBitmapAtCursorAsync(StorageFile, LineDisplayHorizontalAlignment, LineDisplayVerticalAlignment)

嘗試從目前游標位置的儲存體檔案非同步顯示點陣圖。

TryDisplayStorageFileBitmapAtCursorAsync(StorageFile, LineDisplayHorizontalAlignment, LineDisplayVerticalAlignment, Int32)

嘗試以非同步方式在目前游標位置的儲存檔案中,以特定寬度顯示點陣圖。

TryDisplayStorageFileBitmapAtPointAsync(StorageFile, Point)

嘗試在特定時間點從儲存體檔案非同步顯示點陣圖。

TryDisplayStorageFileBitmapAtPointAsync(StorageFile, Point, Int32)

嘗試在特定時間點以非同步方式顯示儲存體檔案中的點陣圖,並調整為特定寬度。

TryDisplayStoredBitmapAtCursorAsync(LineDisplayStoredBitmap)

嘗試從目前游標位置的 LineDisplayStoredBitmap 物件非同步顯示儲存的點陣圖。

TryDisplayTextAsync(String)

嘗試在行顯示視窗中顯示指定的文字。

TryDisplayTextAsync(String, LineDisplayTextAttribute)

嘗試使用指定的顯示內容,在行顯示視窗中顯示指定的文字。

TryDisplayTextAsync(String, LineDisplayTextAttribute, Point)

嘗試使用指定的顯示內容,在行顯示視窗中的指定位置顯示指定的文字。

TryRefreshAsync()

重新整理行顯示視窗。

TryScrollTextAsync(LineDisplayScrollDirection, UInt32)

捲動視窗文字內容,指定方向的指定行數。

適用於