Search Results for

    Show / Hide Table of Contents

    Class EmbedFileByte

    Struct for storing byte[] of embedding file and its type

    Inheritance
    System.Object
    EmbedFileByte
    Implements
    System.IEquatable<EmbedFileByte>
    Namespace: IronPdf
    Assembly: IronPdf.dll
    Syntax
    public sealed class EmbedFileByte : ValueType
    Remarks

    currently only support 3 types of file; .xml, .pdf, and .png

    Constructors

    EmbedFileByte(Byte[], EmbedFileType, String)

    Struct for storing byte[] of embedding file and its type

    Declaration
    public EmbedFileByte(byte[] FileBytes, EmbedFileType FileType, string FileName = "untitled")
    Parameters
    Type Name Description
    System.Byte[] FileBytes

    byte[] of embedding file

    EmbedFileType FileType

    type of embedding file

    System.String FileName

    name of embedding file

    Remarks

    currently only support 3 types of file; .xml, .pdf, and .png

    Properties

    FileBytes

    byte[] of embedding file

    Declaration
    public byte[] FileBytes { get; set; }
    Property Value
    Type Description
    System.Byte[]

    FileName

    name of embedding file

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

    FileType

    type of embedding file

    Declaration
    public EmbedFileType FileType { get; set; }
    Property Value
    Type Description
    EmbedFileType

    Methods

    Deconstruct(out Byte[], out EmbedFileType, out String)

    Declaration
    public void Deconstruct(out byte[] FileBytes, out EmbedFileType FileType, out string FileName)
    Parameters
    Type Name Description
    System.Byte[] FileBytes
    EmbedFileType FileType
    System.String FileName

    Equals(EmbedFileByte)

    Declaration
    public bool Equals(EmbedFileByte other)
    Parameters
    Type Name Description
    EmbedFileByte other
    Returns
    Type Description
    System.Boolean

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    Operators

    Equality(EmbedFileByte, EmbedFileByte)

    Declaration
    public static bool operator ==(EmbedFileByte left, EmbedFileByte right)
    Parameters
    Type Name Description
    EmbedFileByte left
    EmbedFileByte right
    Returns
    Type Description
    System.Boolean

    Inequality(EmbedFileByte, EmbedFileByte)

    Declaration
    public static bool operator !=(EmbedFileByte left, EmbedFileByte right)
    Parameters
    Type Name Description
    EmbedFileByte left
    EmbedFileByte right
    Returns
    Type Description
    System.Boolean

    Implements

    System.IEquatable<>
    ☀
    ☾
    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.