Прочетете на английски Редактиране

Споделяне чрез


Image.SaveAdd Method

Definition

Adds the information in the specified Image to this Image. The specified EncoderParameters determine how the new information is incorporated into the existing image.

Overloads

SaveAdd(EncoderParameters)

Adds a frame to the file or stream specified in a previous call to the Save method. Use this method to save selected frames from a multiple-frame image to another multiple-frame image.

SaveAdd(Image, EncoderParameters)

Adds a frame to the file or stream specified in a previous call to the Save method.

SaveAdd(EncoderParameters)

Source:
Image.cs
Source:
Image.cs
Source:
Image.cs
Source:
Image.cs
Source:
Image.cs
Source:
Image.cs

Adds a frame to the file or stream specified in a previous call to the Save method. Use this method to save selected frames from a multiple-frame image to another multiple-frame image.

C#
public void SaveAdd(System.Drawing.Imaging.EncoderParameters? encoderParams);
C#
public void SaveAdd(System.Drawing.Imaging.EncoderParameters encoderParams);

Parameters

encoderParams
EncoderParameters

An EncoderParameters that holds parameters required by the image encoder that is used by the save-add operation.

Applies to

.NET 10 (package-provided) и други версии
Продукт Версии
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

SaveAdd(Image, EncoderParameters)

Source:
Image.cs
Source:
Image.cs
Source:
Image.cs
Source:
Image.cs
Source:
Image.cs
Source:
Image.cs

Adds a frame to the file or stream specified in a previous call to the Save method.

C#
public void SaveAdd(System.Drawing.Image image, System.Drawing.Imaging.EncoderParameters? encoderParams);
C#
public void SaveAdd(System.Drawing.Image image, System.Drawing.Imaging.EncoderParameters encoderParams);

Parameters

image
Image

An Image that contains the frame to add.

encoderParams
EncoderParameters

An EncoderParameters that holds parameters required by the image encoder that is used by the save-add operation.

Exceptions

image is null.

Applies to

.NET 10 (package-provided) и други версии
Продукт Версии
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10