ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k Namespace / ModuleSpec Class / ModuleSpec Constructor
The number of tiles
The number of components
the type of the specification module i.e. tile specific, component specific or both.

In This Topic
    ModuleSpec Constructor
    In This Topic
    Constructs a 'ModuleSpec' object, initializing all the components and tiles to the 'SPEC_DEF' spec val type, for the specified number of components and tiles.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal nt As Integer, _
       ByVal nc As Integer, _
       ByVal type As Byte _
    )
    public ModuleSpec( 
       int nt,
       int nc,
       byte type
    )

    Parameters

    nt
    The number of tiles
    nc
    The number of components
    type
    the type of the specification module i.e. tile specific, component specific or both.
    See Also