ImageExtensionsSaveAsMultipageTiff(IEnumerableImage, Stream) Method
Saves the provided
images as a multi-page TIFF into the specified
Stream.
When
Image instances in
images already contain multiple pages, only the current page is taken.
Namespace: KGySoft.DrawingAssembly: KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 10.0.0-rc.1
public static void SaveAsMultipageTiff(
this IEnumerable<Image> images,
Stream stream
)
<ExtensionAttribute>
Public Shared Sub SaveAsMultipageTiff (
images As IEnumerable(Of Image),
stream As Stream
)
public:
[ExtensionAttribute]
static void SaveAsMultipageTiff(
IEnumerable<Image^>^ images,
Stream^ stream
)
[<ExtensionAttribute>]
static member SaveAsMultipageTiff :
images : IEnumerable<Image> *
stream : Stream -> unit
- images IEnumerableImage
- The images to save into the TIFF data stream.
- stream Stream
- The stream into the TIFF data is to be saved.
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableImage. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
When images contain multi-page instances, this method takes only the current page. You can extract
images by the ExtractBitmaps extension method.
On non-Windows platform this method may throw a
NotSupportedException if
images has multiple elements.