'Declaration
Public Overloads Function SaveAsTIFF( _ ByVal Stream As Stream, _ Optional ByVal TiffCompression As TiffCompression _ ) As GdPictureStatus
public GdPictureStatus SaveAsTIFF( Stream Stream, TiffCompression TiffCompression )
public function SaveAsTIFF( Stream: Stream; TiffCompression: TiffCompression ): GdPictureStatus;
public function SaveAsTIFF( Stream : Stream, TiffCompression : TiffCompression ) : GdPictureStatus;
public: GdPictureStatus SaveAsTIFF( Stream* Stream, TiffCompression TiffCompression )
public: GdPictureStatus SaveAsTIFF( Stream^ Stream, TiffCompression TiffCompression )
Parameters
- Stream
- A stream object where the current document is saved to as a TIFF image. This output stream must be initialized before it can be sent into this method and it should stay open for subsequent use.
If the output stream is not opened for both reading and writing, the method will fail returning the GdPictureStatus.InvalidParameter status.
- TiffCompression
- A member of the TiffCompression enumeration. Specifies the compression method to be used to compress the resulting TIFF image.
Return Value
A member of the GdPictureStatus enumeration. If the method has been successfully followed, then the return value is GdPictureStatus.OK.