Save

Layer.Save method (1 of 4)

Saves the object’s data to the specified file location in the specified file format according to save options.

public override void Save(string filePath, ImageOptionsBase options)
Parameter Type Description
filePath String The file path.
options ImageOptionsBase The options.

See Also


Layer.Save method (2 of 4)

Saves the object’s data to the specified file location.

public override void Save(string filePath, bool overWrite)
Parameter Type Description
filePath String The file path to save the object’s data to.
overWrite Boolean if set to true over write the file contents, otherwise append will occur.

See Also


Layer.Save method (3 of 4)

Saves the image’s data to the specified stream in the specified file format according to save options.

public override void Save(Stream stream, ImageOptionsBase optionsBase, Rectangle boundsRectangle)
Parameter Type Description
stream Stream The stream to save the image’s data to.
optionsBase ImageOptionsBase The save options.
boundsRectangle Rectangle The destination image bounds rectangle. Set the empty rectangle for use source bounds.

See Also


Layer.Save method (4 of 4)

Saves the object’s data to the specified file location in the specified file format according to save options.

public override void Save(string filePath, ImageOptionsBase options, Rectangle boundsRectangle)
Parameter Type Description
filePath String The file path.
options ImageOptionsBase The options.
boundsRectangle Rectangle The destination image bounds rectangle. Set the empty rectangle for use source bounds.

See Also