Share via


PosPrinterPrintOptions Class

Definition

Represents the print options of the text that you want to print to a point-of-service printer.

public ref class PosPrinterPrintOptions sealed
/// [Windows.Foundation.Metadata.Activatable(524288, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PosPrinterPrintOptions final
[Windows.Foundation.Metadata.Activatable(524288, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PosPrinterPrintOptions
function PosPrinterPrintOptions()
Public NotInheritable Class PosPrinterPrintOptions
Inheritance
Object Platform::Object IInspectable PosPrinterPrintOptions
Attributes

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)

Constructors

PosPrinterPrintOptions()

Creates an instance of PosPrinterPrintOptions.

Properties

Alignment

Gets or sets a value that indicates the alignment that the application wants to use for printing text.

Bold

Gets or sets a value that indicates if the application wants to print characters in bold style.

CharacterHeight

Gets or sets a numeric value that indicates the character height that the application wants to use for printing characters.

CharacterSet

Gets or sets a numeric value that indicates the character set that the application wants to use for printing characters.

DoubleHigh

Gets or sets a value that indicates if the application wants to print characters in double-high style.

DoubleWide

Gets or sets a value that indicates if the application wants to print characters in double-wide style.

Italic

Gets or sets a value that indicates if the application wants to print characters in italic style.

ReverseVideo

Gets or sets a value that indicates if the application wants to print characters in reverse-video style.

Strikethrough

Gets or sets a value that indicates if the application wants to print characters in strikethrough style.

Subscript

Gets or sets a value that indicates if the application wants to print characters in subscript style.

Superscript

Gets or sets a value that indicates if the application wants to print characters in superscript style.

TypeFace

Gets or sets a string value that indicates the typeface that the application wants to use for printing characters.

Underline

Gets or sets a value that indicates if the application wants to print characters in underline style.

Applies to