Show / Hide Table of Contents

Class ImageStreamUtils

Inheritance
object
ImageStreamUtils
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.Util
Assembly: SoCore.dll
Syntax
public static class ImageStreamUtils

Methods

FitToAsync(Stream, int, int, CancellationToken)

Declaration
public static Task<Stream> FitToAsync(this Stream imageStream, int width, int height, CancellationToken cancellationToken)
Parameters
Type Name Description
Stream imageStream
int width
int height
CancellationToken cancellationToken
Returns
Type Description
Task<Stream>

GetDefaultMimeTypeAsync(Stream, CancellationToken)

Declaration
public static Task<string> GetDefaultMimeTypeAsync(this Stream imageStream, CancellationToken cancellationToken)
Parameters
Type Name Description
Stream imageStream
CancellationToken cancellationToken
Returns
Type Description
Task<string>
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top