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.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) |
C# | |
---|---|
public ViewWindowFields( LeadSize frameSize, RoundingDirection roundingDirection, LeadPoint offset, LeadSize regionSize, Range[] components, List<SampleRange> codeStreamList, List<ContextRange> codestreamContext, Nullable<float> samplingRate, string roi, Nullable<int> layers ) |
C++/CLI | |
---|---|
public: ViewWindowFields( LeadSize frameSize, RoundingDirection roundingDirection, LeadPoint offset, LeadSize regionSize, array<Range^>^ components, List<SampleRange^>^ codeStreamList, List<ContextRange^>^ codestreamContext, Nullable<float> samplingRate, String^ roi, Nullable<int> 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.
For an example, refer to Leadtools.Jpip.RequestEncoder.HttpRequestEncoder.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7