Share via


WorkflowPrintTicket.SetParameterInitializerAsInteger Method

Definition

Sets the parameter initializer object for a specified printing parameter. This can only be done if an initializer for the specified parameter doesn't yet exist.

public:
 virtual PrintTicketParameterInitializer ^ SetParameterInitializerAsInteger(Platform::String ^ name, Platform::String ^ xmlNamespace, int integerValue) = SetParameterInitializerAsInteger;
PrintTicketParameterInitializer SetParameterInitializerAsInteger(winrt::hstring const& name, winrt::hstring const& xmlNamespace, int const& integerValue);
public PrintTicketParameterInitializer SetParameterInitializerAsInteger(string name, string xmlNamespace, int integerValue);
function setParameterInitializerAsInteger(name, xmlNamespace, integerValue)
Public Function SetParameterInitializerAsInteger (name As String, xmlNamespace As String, integerValue As Integer) As PrintTicketParameterInitializer

Parameters

name
String

Platform::String

winrt::hstring

The canonical name of the printing parameter

xmlNamespace
String

Platform::String

winrt::hstring

The XML namespace of the printing parameter.

integerValue
Int32

int

The int value to set this parameter to.

Returns

The parameter initializer object for the newly set parameter.

Applies to