Jaa


PrintTaskOptionDetails.CreateTextOption(String, String) Method

Definition

Creates a CustomPrintTaskOptionText object to handle the display name and other parameters of the advanced print task option item.

public:
 virtual PrintCustomTextOptionDetails ^ CreateTextOption(Platform::String ^ optionId, Platform::String ^ displayName) = CreateTextOption;
PrintCustomTextOptionDetails CreateTextOption(winrt::hstring const& optionId, winrt::hstring const& displayName);
public PrintCustomTextOptionDetails CreateTextOption(string optionId, string displayName);
function createTextOption(optionId, displayName)
Public Function CreateTextOption (optionId As String, displayName As String) As PrintCustomTextOptionDetails

Parameters

optionId
String

Platform::String

winrt::hstring

The ID of the print task option.

displayName
String

Platform::String

winrt::hstring

The display name of the print task option.

Returns

The CustomPrintTaskOptionText object.

Applies to