Image.SaveAdd 方法

定義

將指定之 Image 中的資訊加入至這個 ImageAdds the information in the specified Image to this Image. 指定的 EncoderParameters 會決定新資訊結合到現有影像的方式。The specified EncoderParameters determine how the new information is incorporated into the existing image.

多載

SaveAdd(EncoderParameters)

將框架加入先前的 Save 方法呼叫所指定的檔案或資料流。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)

將框架加入先前的 Save 方法呼叫所指定的檔案或資料流。Adds a frame to the file or stream specified in a previous call to the Save method.

SaveAdd(EncoderParameters)

將框架加入先前的 Save 方法呼叫所指定的檔案或資料流。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);
member this.SaveAdd : System.Drawing.Imaging.EncoderParameters -> unit
Public Sub SaveAdd (encoderParams As EncoderParameters)

參數

encoderParams
EncoderParameters

EncoderParameters,包含儲存-加入作業使用之影像編碼器所需的參數。An EncoderParameters that holds parameters required by the image encoder that is used by the save-add operation.

SaveAdd(Image, EncoderParameters)

將框架加入先前的 Save 方法呼叫所指定的檔案或資料流。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);
member this.SaveAdd : System.Drawing.Image * System.Drawing.Imaging.EncoderParameters -> unit

參數

image
Image

Image,包含要加入的框架。An Image that contains the frame to add.

encoderParams
EncoderParameters

EncoderParameters,包含儲存-加入作業使用之影像編碼器所需的參數。An EncoderParameters that holds parameters required by the image encoder that is used by the save-add operation.

例外狀況

imagenullimage is null.

適用於