public sealed class DocumentConversion : IClosable
Public NotInheritable Class DocumentConversion Implements IClosable
public ref class DocumentConversion sealed : IClosable
pdftron.PDF.DocumentConversion = function(); Type.createClass( 'pdftron.PDF.DocumentConversion', null, Windows.Foundation.IClosable);
Thetype exposes the following members.
Cancel the current conversion, forcing TryConvert or Convert to return.
Perform the conversion. Will throw an exception on failure.
Perform the conversion. Will throw an exception on failure. Does nothing if the conversion is already complete. Use GetConversionStatus() to check if there is remaining content to be converted.
Get the state of the conversion process. Pair this with ConvertNextPage().
Gets the PDFDoc from the conversion. Can be accessed at any time during or after conversion.
If the conversion finsihed with some kind of error, this returns the value of the the error description ()otherwise returns an empty string.
Serves as a hash function for a particular type.(Inherited from Object.)
Returns the number of pages which have been added to the destination document. Will never decrease, and will not change after the conversion status becomes "complete".
Return the number of warning strings generated during the conversion process. Warning: experimental interface; this method may be renamed or replaced with equivalent functionality in the future.
Returns a number from 0.0 to 1.0, representing the best estimate of conversion progress. This number is only an indicator, and should not be used to dictate program logic (in particular, it is possible for this method to return 1.0 while there is still work to be done. Use GetConversionStatus() to find out when the conversion is fully complete).
Returns the label for the current conversion stage. May return a blank string. Warning: experimental interface; this method may be renamed or replaced with equivalent functionality in the future.
Gets the Type of the current instance.(Inherited from Object.)
Retrieve warning strings that have been collected during the conversion process. Warning: experimental interface; this method may be renamed or replaced with equivalent functionality in the future.
Determine whether this DocumentConversion has progress reporting capability.
Has the conversion been cancelled?.
Returns a string that represents the current object.(Inherited from Object.)
Perform the conversion. If the result of the conversion is failure, then GetErrorString will contain further information about the failure.