1. IRenditionItem

Interface IRenditionItem

Version:
日本語翻訳に関する免責事項

このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。

Is part of an IRendition.

Namespace: Stylelabs.M.Sdk.Contracts.Base
Assembly: Stylelabs.M.Sdk.dll
Syntax
public interface IRenditionItem
Remarks

Depending on the file type, there can be one or more rendition items. For example a PDF will have an item per page.

Properties

Href

Link to the rendition file.

Declaration
Uri Href { get; }
Property Value
TypeDescription
Uri

Methods

DownloadAsync(String, Boolean)

Downloads the rendition item to a location on disk.

Declaration
Task DownloadAsync(string filePath, bool overwrite = false)
Parameters
TypeNameDescription
System.StringfilePath

The location to download the file to.

System.Booleanoverwrite

If the file is allowed to be overwritten.

Returns
TypeDescription
Task

GetStreamAsync()

Gets a containing the contents of the rendition item.

Declaration
Task<Stream> GetStreamAsync()
Returns
TypeDescription
Task<Stream>

A containing the contents of the rendition item.

この記事を改善するための提案がある場合は、 お知らせください!