Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel.Drawing Namespace / IShapes Interface / AddCameraPicture Method / AddCameraPicture(String,IRange) Method
The range of the picture generated from.
The target range of the current sheet.
In This Topic
    AddCameraPicture(String,IRange) Method
    In This Topic
    Creates a picture from reference range to the target range on the current sheet.

    The sheet of targetRange and the sheet of the shape being added must be the same sheet.

    Returns the IShape object that represents the new picture.
    Syntax
    IShape AddCameraPicture( 
       System.string reference,
       IRange targetRange
    )

    Parameters

    reference
    The range of the picture generated from.
    targetRange
    The target range of the current sheet.

    Return Value

    The IShapeThe object.
    See Also