PdfImage.Save Method (String)

Saves the image to the file with specified name.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)


public string Save(
	string fileNameWithoutExtension
Public Function Save ( 
	fileNameWithoutExtension As String
) As String


Type: System.String
Name of the file <without extension> to save image to.

Return Value

Type: String
Full name of the file with extension where image was saved.


Mask images (see IsMask property) are always saved according to usual PDF convention:

  • White pixels corresponds to masked-out area, the "transparent" pixels. Such masked out area will not be painted on the page.
  • Black pixels corresponds to unmasked area, the "opaque" pixels. Such unmasked area will be painted on the page with the current fill color or corresponding portion of the base image (when this mask image is set as Mask for other image).

See Also