ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.entropy.encoder Namespace / LayersInfo Class / addOptPoint Method
The target bitrate for the optimized layer.
The number of extra (unoptimized) layers to add after the optimized layer.

In This Topic
    addOptPoint Method
    In This Topic
    Adds a new optimization point, with target bitrate 'brate' and with 'elyrs' (unoptimized) extra layers after it. The target bitrate 'brate' must be larger than the previous optimization point. The arguments are checked and IllegalArgumentException is thrown if they are not correct.
    Syntax
    'Declaration
     
    
    Public Overridable Sub addOptPoint( _
       ByVal brate As Single, _
       ByVal elyrs As Integer _
    ) 
    public virtual void addOptPoint( 
       float brate,
       int elyrs
    )

    Parameters

    brate
    The target bitrate for the optimized layer.
    elyrs
    The number of extra (unoptimized) layers to add after the optimized layer.
    See Also