C#
VB
C++
Saves the images of the items of this control as a multi-page TIFF image.
public void SaveTiff(Stream stream,TiffCompressOption compression,bool selected)
Public Sub SaveTiff( _ByVal stream As Stream, _ByVal compression As TiffCompressOption, _ByVal selected As Boolean _)
public:void SaveTiff(Stream^ stream,TiffCompressOption compression,bool selected)
stream
Output stream to save the multi-page TIFF image to.
compression
Compression options.
selected
If true, only saves the selected items. Otherwise, save all items.
This method will create a multi-page TIFF image where each page represents an item in this control.
using Leadtools.Help;using Leadtools.Windows.Controls;using Leadtools;using Leadtools.Codecs;public void ImageList_SaveTiff(ImageList imageList){imageList.Orientation = Orientation.Horizontal;FileStream stream = new FileStream(Path.Combine(LEAD_VARS.ImagesDir, "SaveTiff.tif"), FileMode.OpenOrCreate);imageList.SaveTiff(stream, TiffCompressOption.Default, false);stream.Close();}static class LEAD_VARS{public const string ImagesDir = @"C:\Users\Public\Documents\LEADTOOLS Images";}
Imports Leadtools.Windows.ControlsImports Leadtools.CodecsImports LeadtoolsPublic Sub ImageList_SaveTiff(ByVal imageList As ImageList)imageList.Orientation = Orientation.HorizontalDim stream As FileStream = New FileStream(Path.Combine(LEAD_VARS.ImagesDir, "SaveTiff.tif"), FileMode.OpenOrCreate)imageList.SaveTiff(stream, TiffCompressOption.Default, False)stream.Close()End SubPublic NotInheritable Class LEAD_VARSPublic Const ImagesDir As String = "C:\Users\Public\Documents\LEADTOOLS Images"End Class
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
