VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles.Tiff Namespace / TiffPage Class / GetStripImage(Int32,Int32,Int32,DecodingSettings,EventHandler<ProgressEventArgs>) Method
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
GetStripImage(Int32,Int32,Int32,DecodingSettings,EventHandler<ProgressEventArgs>) Method (TiffPage)
In This Topic
Returns an image of the TIFF page strips.
Syntax
'Declaration

Public Function GetStripImage( _
ByVal firstStripIndex
The zero based index of the first strip.
As System.Int32, _
ByVal lastStripIndex
The zero based index of the last strip.
As System.Int32, _
ByVal scale
Scale factor.
As System.Int32, _
ByVal progressDelegate
Progress delegate of strips image loading.
As Vintasoft.Imaging.Codecs.Decoders.DecodingSettings, _
ByVal decodingSettings
The decoding settings that should be used for decoding of page image.
As System.EventHandler(Of ProgressEventArgs) _
) As Vintasoft.Imaging.VintasoftImage

Parameters

firstStripIndex
The zero based index of the first strip.
lastStripIndex
The zero based index of the last strip.
scale
Scale factor.
progressDelegate
Progress delegate of strips image loading.
decodingSettings
The decoding settings that should be used for decoding of page image.

Return Value

Image of the TIFF page strips if image was loaded successfully; otherwise, null.
Exceptions
ExceptionDescription
Thrown if firstStripIndex is less than zero or greater than number of strips -or- lastStripIndex is less than zero or greater than number of strips -or- scale has unsupported value.
Thrown if this page does not have strips.
Thrown if image data are divided on color planes. In this case values of the firstStripIndex and lastStripIndex parameters must be the same - image only one strip can be get.
Thrown if error occurred during loading of image.
Remarks

This method is synchronous.

Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also