Class Image
Inheritance
System.Object
Image
Assembly: IronPdf.dll
Syntax
public abstract class Image : Object
Properties
ContentType
Declaration
public string ContentType { get; }
Property Value
Type |
Description |
System.String |
|
Methods
GetContent(CancellationToken)
Declaration
public abstract byte[] GetContent(CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Byte[] |
|
GetContentAsync(CancellationToken)
Declaration
public abstract Task<byte[]> GetContentAsync(CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte[]> |
|
ToDataUrl(CancellationToken)
Declaration
public string ToDataUrl(CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.String |
|
ToDataUrlAsync(CancellationToken)
Declaration
public Task<string> ToDataUrlAsync(CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.String> |
|