PrintTaskOptionDetails.CreateTextOption(String, String) PrintTaskOptionDetails.CreateTextOption(String, String) PrintTaskOptionDetails.CreateTextOption(String, String) PrintTaskOptionDetails.CreateTextOption(String, String) 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 : PrintCustomTextOptionDetails CreateTextOption(Platform::String optionId, Platform::String displayName)
PrintCustomTextOptionDetails CreateTextOption(winrt::hstring optionId, winrt::hstring displayName) const;
public PrintCustomTextOptionDetails CreateTextOption(String optionId, String displayName)
Public Function CreateTextOption(optionId As String, displayName As String) As PrintCustomTextOptionDetails
var printCustomTextOptionDetails = printTaskOptionDetails.createTextOption(optionId, displayName);

Parameters

optionId
String String String

The ID of the print task option.

displayName
String String String

The display name of the print task option.

Returns