PrintTaskOptionDetails.CreateTextOption(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.