ImageExtensionsSaveAsTiff(Image, String, Boolean) Method
Namespace: KGySoft.DrawingAssembly: KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 8.1.0
public static void SaveAsTiff(
this Image image,
string fileName,
bool currentFrameOnly = true
)
<ExtensionAttribute>
Public Shared Sub SaveAsTiff (
image As Image,
fileName As String,
Optional currentFrameOnly As Boolean = true
)
public:
[ExtensionAttribute]
static void SaveAsTiff(
Image^ image,
String^ fileName,
bool currentFrameOnly = true
)
[<ExtensionAttribute>]
static member SaveAsTiff :
image : Image *
fileName : string *
?currentFrameOnly : bool
(* Defaults:
let _currentFrameOnly = defaultArg currentFrameOnly true
*)
-> unit
- image Image
- The image to save. If contains multiple images, then the frames to be saved can be specified by the currentFrameOnly parameter.
- fileName String
- The name of the file to which to save the image. The directory of the specified path is created if it does not exist.
- currentFrameOnly Boolean (Optional)
- to save only the current frame of the specified image;
to save all frames. The frames can represent pages, animation and resolution dimensions but in any case they will be saved as pages. This parameter is optional.
Default value: .
In Visual Basic and C#, you can call this method as an instance method on any object of type
Image. 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).