CompressionLoadOptions

CompressionLoadOptions class

Options for loading compression documents.

public sealed class CompressionLoadOptions : LoadOptions, IDocumentsContainerLoadOptions, 
    IPasswordLoadOptions

Constructors

Name Description
CompressionLoadOptions() Initializes new instance of CompressionLoadOptions class.

Properties

Name Description
ConvertOwned { get; } Implements ConvertOwned Readonly. Set to true. The owned documents will be converted
ConvertOwner { get; } Implements ConvertOwner Readonly. Set to false. The owner will not be converted
Depth { get; set; } Implements Depth How many levels of contained documents the conversion goes down, counted from the document the conversion starts from, which is level 0: 0 or a negative value converts no contained document, 1 converts the documents it contains directly, 2 also the documents those contain, and so on. On the document the conversion starts from, it is the limit for the whole conversion. Returned by the load options callback for a contained document at level L, it limits the documents that document contains to level L + Depth, never deeper than the limit of the document the conversion starts from. Default: 3
Format { get; set; } Input document file type. Is null until a format has been set, so test it for null rather than against Unknown, which it never equals.
virtual Format { get; } Input document file type.
Password { get; set; } Set password to load protected document.

Methods

Name Description
override Equals(object) Determines whether two object instances are equal.
virtual Equals(ValueObject) Determines whether two object instances are equal.
override GetHashCode() Serves as the default hash function.

See Also