GemBox.Spreadsheet
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    RichPictureValue Class

    Namespace:
    GemBox.Spreadsheet.RichData
    Assembly:
    GemBox.Spreadsheet.dll

    Represents a picture in an ExcelCell.

    • C#
    • VB.NET
    public sealed class RichPictureValue : RichValueBase
    Public NotInheritable Class RichPictureValue
        Inherits RichValueBase
    Inheritance:
    System.Object
    RichValueBase
    RichPictureValue

    Constructors

    RichPictureValue(MemoryStream, ExcelPictureFormat)

    Initializes a new instance of the RichPictureValue class.

    • C#
    • VB.NET
    public RichPictureValue(MemoryStream pictureStream, ExcelPictureFormat pictureFormat)
    Public Sub New(pictureStream As MemoryStream, pictureFormat As ExcelPictureFormat)
    Parameters
    pictureStream
    System.IO.MemoryStream

    The picture's stream.

    pictureFormat
    ExcelPictureFormat

    The picture's format.

    RichPictureValue(String)

    Initializes a new instance of the RichPictureValue class.

    • C#
    • VB.NET
    public RichPictureValue(string path)
    Public Sub New(path As String)
    Parameters
    path
    System.String

    The file path of the picture to be added.

    Properties

    PictureFormat

    Gets the picture format.

    • C#
    • VB.NET
    public ExcelPictureFormat PictureFormat { get; }
    Public ReadOnly Property PictureFormat As ExcelPictureFormat
    Property Value
    ExcelPictureFormat

    The picture format.

    PictureStream

    Gets the picture stream.

    • C#
    • VB.NET
    public MemoryStream PictureStream { get; }
    Public ReadOnly Property PictureStream As MemoryStream
    Property Value
    System.IO.MemoryStream

    The picture stream.

    RichValueType

    Gets the rich value type for RichValueType which is Picture.

    • C#
    • VB.NET
    public override RichValueType RichValueType { get; }
    Public Overrides ReadOnly Property RichValueType As RichValueType
    Property Value
    RichValueType

    The Picture value.

    Overrides
    RichValueBase.RichValueType

    Examples

    https://www.gemboxsoftware.com/spreadsheet/examples/excel-images/209
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.