HtmlSaveOptions.CssUrlMakingStrategy

Inheritance: java.lang.Object, com.aspose.ms.System.Delegate, com.aspose.ms.System.MulticastDelegate

public abstract static class HtmlSaveOptions.CssUrlMakingStrategy extends System.MulticastDelegate

You can assign to this property delegate created from custom method that implements creation of URL of CSS referenced in generated HTML document. F.e. if You want to make CSS referenced in HTML f.e. as “otherPage.ASPX?CssID=zjjkklj” Then such custom strategy must return “otherPage.ASPX?CssID=zjjkklj”

Constructors

ConstructorDescription
CssUrlMakingStrategy()

Methods

MethodDescription
invoke(HtmlSaveOptions.CssUrlRequestInfo cssUrlRequestInfo)
beginInvoke(HtmlSaveOptions.CssUrlRequestInfo cssUrlRequestInfo, System.AsyncCallback callback, Object state)
endInvoke(System.IAsyncResult result)

CssUrlMakingStrategy()

public CssUrlMakingStrategy()

invoke(HtmlSaveOptions.CssUrlRequestInfo cssUrlRequestInfo)

public abstract String invoke(HtmlSaveOptions.CssUrlRequestInfo cssUrlRequestInfo)

Parameters:

ParameterTypeDescription
cssUrlRequestInfoCssUrlRequestInfo

Returns: java.lang.String

beginInvoke(HtmlSaveOptions.CssUrlRequestInfo cssUrlRequestInfo, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginInvoke(HtmlSaveOptions.CssUrlRequestInfo cssUrlRequestInfo, System.AsyncCallback callback, Object state)

Parameters:

ParameterTypeDescription
cssUrlRequestInfoCssUrlRequestInfo
callbackcom.aspose.ms.System.AsyncCallback
statejava.lang.Object

Returns: com.aspose.ms.System.IAsyncResult

endInvoke(System.IAsyncResult result)

public final String endInvoke(System.IAsyncResult result)

Parameters:

ParameterTypeDescription
resultcom.aspose.ms.System.IAsyncResultIAsyncResult object

Returns: java.lang.String - String object