Share

Image.Save(string) Method

Description

This .NET method corresponds to Image.Save() COM interface method of AutoCAD.

This function will fail if the Image has not been loaded successfully. Before this function is called, the image must be loaded successfully. GIF images are saved in PNG format. While saving a GIF image, the file extension of filename is not changed even though the saved format is PNG.

C#

public void Save(
    string filename
);

Visual Basic

Public Function Save(
    filename As string
) As void

Parameters

Parameters Description
string filename Input image file to save with path.

Links

Image Class, Autodesk.AutoCAD.Windows.ToolPalette Namespace

Was this information helpful?