Class ConversionResult
Represents a conversion result, either a successful result which can be downloaded as a file or an error result if a page or set of pages could not be converted.
Inherited Members
Namespace: Accusoft.PrizmDocServer.Conversion
Assembly: PrizmDocServerSDK.dll
Syntax
public class ConversionResult
Properties
ErrorCode
Gets the specific error code if this is an error result, or null
if this is a successful result.
Declaration
public string ErrorCode { get; }
Property Value
Type | Description |
---|---|
String |
IsError
Gets a value indicating whether this result represents an error.
When true
, this is an error result. See the Errorfalse
, this is a successful result and you can use Remotetrue
if this result represents an error and has an associated Errorfalse
if
this result was successful and has an associated Remote
Declaration
public bool IsError { get; }
Property Value
Type | Description |
---|---|
Boolean |
IsSuccess
Gets a value indicating whether this result represents a successfully-produced output document.
When true
, this is a successful result and you can use Remotefalse
, this is an error result. See the Errortrue
if this result was successful and has an associated Remotefalse
if
this result represents an error and has an associated Error
Declaration
public bool IsSuccess { get; }
Property Value
Type | Description |
---|---|
Boolean |
PageCount
Gets the total number of pages for a successful result, or
null
for an error result.
Declaration
public int? PageCount { get; }
Property Value
RemoteWorkFile
Gets the Remote
Declaration
public RemoteWorkFile RemoteWorkFile { get; }
Property Value
Type | Description |
---|---|
Remote |
Exceptions
Type | Condition |
---|---|
Invalid |
Is |
Sources
Gets the collection of source documents which contributed to this specific result.
Declaration
public IEnumerable<ConversionSourceDocument> Sources { get; }
Property Value
Type | Description |
---|---|
IEnumerable<Conversion |