*
* @param range The range value to set.
*/
public void setEncodeForParameter( int paramNum, PDRange range )
{
COSArray encode = (COSArray)getCOSStream().getDictionaryObject( "Encode" );
if( encode == null )
{
encode = new COSArray();
}
for( int i=encode.size(); i<paramNum*2+1; i++)
{
encode.add( COSNull.NULL );
}
encode.set( paramNum*2, new COSFloat( range.getMin() ) );
encode.set( paramNum*2+1, new COSFloat( range.getMax() ) );
}