Aspose::Words::Loading Namespace Reference

Classes

class  ResourceLoadingArgs
 Provides data for the Aspose::Words::Loading::IResourceLoadingCallback::ResourceLoading(System::SharedPtr<Aspose::Words::Loading::ResourceLoadingArgs>) method. More...
 

Enumerations

enum  ResourceLoadingAction { ResourceLoadingAction::Default, ResourceLoadingAction::Skip, ResourceLoadingAction::UserProvided }
 Specifies the mode of resource loading. More...
 
enum  ResourceType { ResourceType::Image, ResourceType::CssStyleSheet, ResourceType::Document }
 Type of loaded resource. More...
 

Detailed Description

The Aspose.Words.Loading namespace provides classes and enumerations that allow to specify additional options when loading documents.

Enumeration Type Documentation

◆ ResourceLoadingAction

Specifies the mode of resource loading.

Enumerator
Default 

Aspose.Words will load this resource as usual.

Skip 

Aspose.Words will skip loading of this resource. Only link without data will be stored for an image. Css style sheet will be ignored.

UserProvided 

Aspose.Words will use byte array provided by user in Aspose::Words::Loading::ResourceLoadingArgs::SetData(System::ArrayPtr<uint8_t>) as resource data.

◆ ResourceType

Type of loaded resource.

Enumerator
Image 

Image.

CssStyleSheet 

Css style sheet.

Document 

Document.