ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.fileformat.writer Namespace / FileFormatWriter Class / FileFormatWriter Constructor
The name of the file that is to be made a JP2 file
The height of the image
The width of the image
The number of components
The number of bits per component
Length of codestream

In This Topic
    FileFormatWriter Constructor
    In This Topic
    The constructor of the FileFormatWriter. It receives all the information necessary about a codestream to generate a legal JP2 file
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal filename As String, _
       ByVal height As Integer, _
       ByVal width As Integer, _
       ByVal nc As Integer, _
       ByVal bpc() As Integer, _
       ByVal clength As Integer _
    )
    public FileFormatWriter( 
       string filename,
       int height,
       int width,
       int nc,
       int[] bpc,
       int clength
    )

    Parameters

    filename
    The name of the file that is to be made a JP2 file
    height
    The height of the image
    width
    The width of the image
    nc
    The number of components
    bpc
    The number of bits per component
    clength
    Length of codestream
    See Also