Class ResourceLoadingArgs

Class ResourceLoadingArgs

Namespace: Aspose.Words.Loading
Assembly: Aspose.Words.dll (25.4.0)

Provides data for the Aspose.Words.Loading.IResourceLoadingCallback.ResourceLoading(Aspose.Words.Loading.ResourceLoadingArgs) method.

public class ResourceLoadingArgs

Inheritance

object ResourceLoadingArgs

Inherited Members

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Properties

OriginalUri

Original URI of the resource as specified in imported document.

public string OriginalUri { get; }

Property Value

string

ResourceType

Type of resource.

public ResourceType ResourceType { get; }

Property Value

ResourceType

Uri

URI of the resource which is used for downloading if Aspose.Words.Loading.IResourceLoadingCallback.ResourceLoading(Aspose.Words.Loading.ResourceLoadingArgs) returns Aspose.Words.Loading.ResourceLoadingAction.Default.

Initially it's set to absolute URI of the resource, but user can redefine it to any value.

public string Uri { get; set; }

Property Value

string

Methods

SetData(byte[])

Sets user provided data of the resource which is used if Aspose.Words.Loading.IResourceLoadingCallback.ResourceLoading(Aspose.Words.Loading.ResourceLoadingArgs) returns Aspose.Words.Loading.ResourceLoadingAction.UserProvided.

public void SetData(byte[] data)

Parameters

data byte []

 English