Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel.Drawing Namespace / IShapes Interface / AddCameraPicture Method / AddCameraPicture(String,String,IRange) Method
The range of the picture generated from
The picture name
The target range of the current sheet.
In This Topic
    AddCameraPicture(String,String,IRange) Method
    In This Topic
    Creates a picture from reference range to the specified 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,
       System.string name,
       IRange targetRange
    )

    Parameters

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

    Return Value

    The IShapeThe object.
    See Also