Documents for Word, .NET Edition
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / PictureCollection Class / Add Method / Add(Byte[],String,Single,Single) Method
The image data representing the picture.
The content type of the image data.
The picture's width, in points.
The picture's height, in points.

In This Topic
    Add(Byte[],String,Single,Single) Method
    In This Topic
    Adds a Picture to this collection at the InsertLocation.End location.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal imageBytes() As System.Byte, _
       ByVal contentType As System.String, _
       ByVal width As System.Single, _
       ByVal height As System.Single _
    ) As Picture
    public Picture Add( 
       System.byte[] imageBytes,
       System.string contentType,
       System.float width,
       System.float height
    )

    Parameters

    imageBytes
    The image data representing the picture.
    contentType
    The content type of the image data.
    width
    The picture's width, in points.
    height
    The picture's height, in points.

    Return Value

    The added Picture.
    See Also