ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.roi.encoder Namespace / ROIScaler Class / createInstance Method
The source of data to scale
The parameter list (or options).
The encoder specifications for addition of roi specs

In This Topic
    createInstance Method (ROIScaler)
    In This Topic
    Creates a ROIScaler object. The Quantizer is the source of data to scale.

    The ROI Scaler creates a ROIMaskGenerator depending on what ROI information is in the ParameterList. If only rectangular ROI are used, the fast mask generator for rectangular ROI can be used.

    Syntax
    'Declaration
     
    
    Public Shared Function createInstance( _
       ByVal src As Quantizer, _
       ByVal pl As ParameterList, _
       ByVal encSpec As EncoderSpecs _
    ) As ROIScaler
    public static ROIScaler createInstance( 
       Quantizer src,
       ParameterList pl,
       EncoderSpecs encSpec
    )

    Parameters

    src
    The source of data to scale
    pl
    The parameter list (or options).
    encSpec
    The encoder specifications for addition of roi specs
    Exceptions
    ExceptionDescription
    If an error occurs while parsing the options in 'pl'
    See Also