Search Results for

    Show / Hide Table of Contents

    Class Image

    Inheritance
    System.Object
    Image
    Namespace: PdfToSvg
    Assembly: IronPdf.dll
    Syntax
    public abstract class Image : Object

    Constructors

    Image(String, String, Int32, Int32)

    Declaration
    protected Image(string contentType, string extension, int width, int height)
    Parameters
    Type Name Description
    System.String contentType
    System.String extension
    System.Int32 width
    System.Int32 height

    Properties

    ContentType

    Declaration
    public string ContentType { get; }
    Property Value
    Type Description
    System.String

    Extension

    Declaration
    public string Extension { get; }
    Property Value
    Type Description
    System.String

    Height

    Declaration
    public int Height { get; }
    Property Value
    Type Description
    System.Int32

    Width

    Declaration
    public int Width { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    GetContent(CancellationToken)

    Declaration
    public abstract byte[] GetContent(CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    System.Threading.CancellationToken cancellationToken
    Returns
    Type Description
    System.Byte[]

    GetContentAsync(CancellationToken)

    Declaration
    public abstract Task<byte[]> GetContentAsync(CancellationToken cancellationToken = null)
    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 = null)
    Parameters
    Type Name Description
    System.Threading.CancellationToken cancellationToken
    Returns
    Type Description
    System.String

    ToDataUrlAsync(CancellationToken)

    Declaration
    public Task<string> ToDataUrlAsync(CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    System.Threading.CancellationToken cancellationToken
    Returns
    Type Description
    System.Threading.Tasks.Task<System.String>
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronPDF to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronPDF free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.