DocumentConvert Method (Stream, PdfFormat, ConvertErrorAction, ConvertTransparencyAction)
Convert document and save errors into the specified file.

Namespace: Aspose.Pdf
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 20.3
Syntax
public bool Convert(
	Stream outputLogStream,
	PdfFormat format,
	ConvertErrorAction action,
	ConvertTransparencyAction transparencyAction
)

Parameters

outputLogStream
Type: System.IOStream
Stream where the comments will be stored.
format
Type: Aspose.PdfPdfFormat
The pdf format.
action
Type: Aspose.PdfConvertErrorAction
Action for objects that can not be converted
transparencyAction
Type: Aspose.PdfConvertTransparencyAction
Action for image masked objects

Return Value

Type: Boolean
The operation result
See Also