แก้ไข

แชร์ผ่าน


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

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.

public:
 void SaveAdd(System::Drawing::Imaging::EncoderParameters ^ encoderParams);
public void SaveAdd (System.Drawing.Imaging.EncoderParameters? encoderParams);
public void SaveAdd (System.Drawing.Imaging.EncoderParameters encoderParams);
member this.SaveAdd : System.Drawing.Imaging.EncoderParameters -> unit
Public Sub SaveAdd (encoderParams As EncoderParameters)

Parameters

encoderParams
EncoderParameters

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

Applies to

SaveAdd(Image, EncoderParameters)

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.

public:
 void SaveAdd(System::Drawing::Image ^ image, System::Drawing::Imaging::EncoderParameters ^ encoderParams);
public void SaveAdd (System.Drawing.Image image, System.Drawing.Imaging.EncoderParameters? encoderParams);
public void SaveAdd (System.Drawing.Image image, System.Drawing.Imaging.EncoderParameters encoderParams);
member this.SaveAdd : System.Drawing.Image * System.Drawing.Imaging.EncoderParameters -> unit
Public Sub SaveAdd (image As Image, encoderParams As EncoderParameters)

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