ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.io Namespace / BEBufferedRandomAccessFile Class / BEBufferedRandomAccessFile Constructor / BEBufferedRandomAccessFile Constructor(String,String)
The name of the file associated with the buffer
"r" for read, "rw" or "rw+" for read and write mode ("rw+" opens the file for update whereas "rw" removes it before. So the 2 modes are different only if the file already exists).

In This Topic
    BEBufferedRandomAccessFile Constructor(String,String)
    In This Topic
    Constructor. Uses the default value for the byte-buffer size (512 bytes).
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal name As String, _
       ByVal mode As String _
    )
    public BEBufferedRandomAccessFile( 
       string name,
       string mode
    )

    Parameters

    name
    The name of the file associated with the buffer
    mode
    "r" for read, "rw" or "rw+" for read and write mode ("rw+" opens the file for update whereas "rw" removes it before. So the 2 modes are different only if the file already exists).
    Exceptions
    ExceptionDescription
    If an I/O error ocurred.
    See Also