LEADTOOLS JPEG 2000 (Leadtools.Jpip assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
ViewWindowFields Constructor(LeadSize,RoundingDirection,LeadPoint,LeadSize,Range[],List<SampleRange>,List<ContextRange>,Nullable<Single>,String,Nullable<Int32>)
See Also 
Leadtools.Jpip Namespace > ViewWindowFields Class > ViewWindowFields Constructor : ViewWindowFields Constructor(LeadSize,RoundingDirection,LeadPoint,LeadSize,Range[],List<SampleRange>,List<ContextRange>,Nullable<Single>,String,Nullable<Int32>)



frameSize
The Leadtools.LeadSize of the requested image resolution size.
roundingDirection
A RoundingDirection value that specifies how to select an available codestream image resolution for each requested codestream.
offset
Identifies the upper left hand corner (offset) of the spatial region associated with the requested view window.
regionSize
Identifies the horizontal and vertical extent (size) of the spatial region associated with the requested view window.
components
Identifies the image components that are to be included in the requested view window.
codeStreamList
Identifies which codestream or codestreams belong to the requested view window.
codestreamContext
Requests codestreams indirectly via "higher level" image entities.
samplingRate
Specifies the sampling rate of the requested codestreams.
roi
Specifies the desired spatial region of the image through a name rather than through coordinates.
layers
Restricts the number of codestream quality layers that belong to the view-window request.

The ViewWindowFields Constructor(LeadSize,RoundingDirection,LeadPoint,LeadSize,Range[],List<SampleRange>,List<ContextRange>,Nullable<Single>,String,Nullable<Int32>) includes members that are available as an add-on to the LEADTOOLS Imaging Pro, Document, and Medical Imaging toolkits.

Initializes a new instance of the ViewWindowFields class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal frameSize As LeadSize, _
   ByVal roundingDirection As RoundingDirection, _
   ByVal offset As LeadPoint, _
   ByVal regionSize As LeadSize, _
   ByVal components() As Range, _
   ByVal codeStreamList As List(Of SampleRange), _
   ByVal codestreamContext As List(Of ContextRange), _
   ByVal samplingRate As Nullable(Of Single), _
   ByVal roi As String, _
   ByVal layers As Nullable(Of Integer) _
)
Visual Basic (Usage)Copy Code
Dim frameSize As LeadSize
Dim roundingDirection As RoundingDirection
Dim offset As LeadPoint
Dim regionSize As LeadSize
Dim components() As Range
Dim codeStreamList As List(Of SampleRange)
Dim codestreamContext As List(Of ContextRange)
Dim samplingRate As Nullable(Of Single)
Dim roi As String
Dim layers As Nullable(Of Integer)
 
Dim instance As New ViewWindowFields(frameSize, roundingDirection, offset, regionSize, components, codeStreamList, codestreamContext, samplingRate, roi, layers)

Parameters

frameSize
The Leadtools.LeadSize of the requested image resolution size.
roundingDirection
A RoundingDirection value that specifies how to select an available codestream image resolution for each requested codestream.
offset
Identifies the upper left hand corner (offset) of the spatial region associated with the requested view window.
regionSize
Identifies the horizontal and vertical extent (size) of the spatial region associated with the requested view window.
components
Identifies the image components that are to be included in the requested view window.
codeStreamList
Identifies which codestream or codestreams belong to the requested view window.
codestreamContext
Requests codestreams indirectly via "higher level" image entities.
samplingRate
Specifies the sampling rate of the requested codestreams.
roi
Specifies the desired spatial region of the image through a name rather than through coordinates.
layers
Restricts the number of codestream quality layers that belong to the view-window request.

Example

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Jpip requires a JPIP Module and a server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features