C# Класс EnterpriseWebLibrary.EnterpriseWebFramework.BlobFileResponse

An HTTP response based on a BLOB file.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GetResponse EwfResponse

Открытые методы

Метод Описание
BlobFileResponse ( int fileId, Func processAsAttachmentGetter, Func forcedImageWidthGetter = null ) : System

Creates a BLOB-file response.

Приватные методы

Метод Описание
GetResponse ( ) : EwfResponse

Описание методов

BlobFileResponse() публичный Метод

Creates a BLOB-file response.
public BlobFileResponse ( int fileId, Func processAsAttachmentGetter, Func forcedImageWidthGetter = null ) : System
fileId int The ID of the BLOB file.
processAsAttachmentGetter Func A function that gets whether you want the response to be processed as an attachment. Return true if you want /// this behavior; otherwise return false or do not pass a function.
forcedImageWidthGetter Func A function that gets the width in pixels to which the specified file should be scaled, while maintaining its aspect /// ratio. The file must be an image. Pass null or return null if the file is not an image or you do not want scaling.
Результат System