Class
OfficeDocumentAssetMaterializationOptions
OfficeIMO.Reader
Options controlling how read-result assets are materialized outside the read result envelope.
Inheritance
- object
- OfficeDocumentAssetMaterializationOptions
Usage
Explore 4 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters 4
- Method OfficeDocumentAssetMaterializer.StreamAssets
- Method OfficeDocumentAssetMaterializer.WriteAssetsToDirectory
- Extension method OfficeDocumentReadResult.StreamAssets
- Extension method OfficeDocumentReadResult.WriteAssetsToDirectory
Constructors
public OfficeDocumentAssetMaterializationOptions() #Inherited Methods
Properties
public bool CreateDirectory { get; set; } #Creates the destination directory when it does not exist. Defaults to true.
public bool Overwrite { get; set; } #Overwrites an existing file with the same deterministic filename. Defaults to true.
public bool ValidatePayloadHash { get; set; } #When true, validates an asset payload against OfficeDocumentAsset.PayloadHash when the hash is present.
public Func<OfficeDocumentAsset, bool>? Predicate { get; set; } #Optional asset predicate used to materialize only selected assets.