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

    Show / Hide Table of Contents

    GraphicFrame Class

    Namespace:
    GemBox.Presentation
    Assembly:
    GemBox.Presentation.dll

    Represents a drawing that contains graphic content that needs a container (frame) to be displayed on the slide surface.

    • C#
    • VB.NET
    public sealed class GraphicFrame : VisualDrawing
    Public NotInheritable Class GraphicFrame
        Inherits VisualDrawing
    Inheritance:
    System.Object
    Drawing
    VisualDrawing
    GraphicFrame

    Properties

    Chart

    Gets the chart contained in this frame or null if this frame doesn't contain a Chart.

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

    The chart contained in this frame or null if this frame doesn't contain a Chart.

    Content

    Gets or sets the graphic content contained in this frame.

    • C#
    • VB.NET
    public object Content { get; set; }
    Public Property Content As Object
    Property Value
    System.Object

    The graphic content contained in this frame.

    Remarks

    Value type is either public (such as Table), internal to GemBox.Presentation component (when the type is used for preserving not supported graphic content) or is user-specific type (when the type is used for user-defined graphic content).

    Exceptions
    System.InvalidOperationException

    Value can be set only once and it cannot be a null or content is already set to another graphic frame.

    DrawingType

    Gets the GraphicFrame value.

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

    The GraphicFrame value.

    Overrides
    Drawing.DrawingType

    OleObject

    Gets the OLE (Object Linking and Embedding) object contained in this frame or null if this frame doesn't contain a OleObject.

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

    The OLE (Object Linking and Embedding) object contained in this frame or null if this frame doesn't contain a OleObject.

    Table

    Gets the table contained in this frame or null if this frame doesn't contain a Table.

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

    The table contained in this frame or null if this frame doesn't contain a Table.

    Inherited Properties

    Action

    Gets or sets the action settings for this drawing that specify what should happen when the user clicks on this drawing or hovers over this drawing with a pointing device such as a computer mouse.

    To remove all actions from this drawing, set this property to null.

    (Inherited from VisualDrawing)

    AlternativeText

    Gets or sets the alternative, text-based representation of the information contained in this drawing.

    To remove an alternative, text-based representation from this drawing, set this property to null.

    (Inherited from VisualDrawing)

    CustomerData

    Gets or sets the customer defined data.

    (Inherited from VisualDrawing)

    Hidden

    Gets or sets a value indicating whether this drawing is hidden. Drawing is automatically hidden if any of its ancestor GroupShape is hidden.

    Default value is false.

    (Inherited from VisualDrawing)

    Layout

    Gets or sets the location, size and transformations (flipping and rotation) of the bounding box enclosing this drawing.

    (Inherited from VisualDrawing)

    Locks

    Gets or sets the locking settings for this drawing. These settings inform the application about specific drawing properties that have been previously locked and thus should not be changed by the user when viewing a drawing in an application.

    Default value is None.

    (Inherited from VisualDrawing)

    Name

    Gets or sets the name of this drawing.

    (Inherited from VisualDrawing)

    Parent

    Gets the parent group or null if drawing is not grouped.

    (Inherited from Drawing)

    Placeholder

    Gets the placeholder settings for this drawing if the drawing is a placeholder; otherwise, null.

    (Inherited from VisualDrawing)

    Slide

    Gets the slide associated with this drawing.

    (Inherited from Drawing)

    TextContent

    Gets the text content of the current Drawing.

    (Inherited from Drawing)

    Inherited Methods

    BringForward()

    Brings this drawing forward so that it is hidden by fewer drawings that are in front of it.

    (Inherited from Drawing)

    BringForward(Drawing)

    Brings this drawing forward so that is not hidden by the specified drawing and all other drawings behind the specified drawing.

    (Inherited from Drawing)

    BringToFront()

    Brings this drawing in front of all other drawings so that no part of it is hidden behind another drawing.

    (Inherited from Drawing)

    FormatDrawing()

    Formats this VisualDrawing to its default size so it can be exported to PDF, XPS, image, or be printed.

    (Inherited from VisualDrawing)

    FormatDrawing(System.Double, System.Double, LengthUnit)

    Formats this VisualDrawing to specified size so it can be exported to PDF, XPS, image, or be printed.

    (Inherited from VisualDrawing)

    FormatDrawing(System.Double, System.Double, LengthUnit, PaginatorOptions)

    Formats this VisualDrawing to specified size so it can be exported to PDF, XPS, image, or be printed.

    (Inherited from VisualDrawing)

    FormatDrawing(PaginatorOptions)

    Formats this VisualDrawing to its default size so it can be exported to PDF, XPS, image, or be printed.

    (Inherited from VisualDrawing)

    SendBackward()

    Sends this drawing backward so that it is hidden by more drawings that are in front of it.

    (Inherited from Drawing)

    SendBackward(Drawing)

    Sends this drawing backward so that is hidden by the specified drawing and all other drawings in front of the specified drawing.

    (Inherited from Drawing)

    SendToBack()

    Sends this drawing behind all other drawings.

    (Inherited from Drawing)

    ToString()

    Returns a System.String that represents this VisualDrawing instance.

    (Inherited from VisualDrawing)

    Examples

    Tables Example
    Charts Example
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.