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

    Show / Hide Table of Contents

    Picture Class

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

    Represents a drawing visualizes a picture on the slide surface.

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

    Properties

    DrawingType

    Gets the Picture value.

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

    The Picture value.

    Overrides
    Drawing.DrawingType

    Fill

    Gets the picture fill.

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

    The picture fill.

    Media

    Gets the media (audio or video) associated with this Picture or null if no media is associated with this picture.

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

    The media (audio or video) associated with this Picture or null if no media is associated with this picture.

    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)

    Format

    Gets or sets the shape's formatting options.

    (Inherited from VisualShape)

    Geometry

    Gets or sets the shape's geometry that contains additional information about the ShapeType.

    (Inherited from GeometryShape)

    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)

    ShapeType

    Gets or sets the type of the shape (geometry).

    (Inherited from GeometryShape)

    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 GeometryShape instance.

    (Inherited from GeometryShape)

    Examples

    Pictures Example
    Audio and Video Example
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.