IPrintSchemaParameterDefinition::get_RangeMax method

The RangeMax property gets the maximum value of the allowed data range.

This property is read-only.

Syntax

HRESULT get_RangeMax(
  INT *pRangeMax
);

Parameters

pRangeMax

Return Value

None

Remarks

For the PrintSchemaParameterDataType_Integer data type, the value returned by RangeMax maps to the psf:MaxValue property value of the Print Schema parameter definition. This maximum value shows the maximum integer value that the driver supports.

For the PrintSchemaParameterDataType_NumericString and PrintSchemaParameterDataType_String data types, this maps to the psf:MaxLength property value of the Print Schema parameter definition. This maximum value shows the maximum length of string that the driver supports.

Requirements

   
Minimum supported client Windows 8.1
Minimum supported server Windows Server 2012 R2
Target Platform Windows
Header printerextension.h

See Also

IPrintSchemaParameterDefinition