[]
        
(Showing Draft Content)

C1.Word.Objects.RtfPictureShape.-ctor

RtfPictureShape Constructor

RtfPictureShape(Image, float, float)

Create RTF picture shape.

Declaration
public RtfPictureShape(Image img, float width = -1, float height = -1)
Public Sub New(img As Image, Optional width As Single = -1, Optional height As Single = -1)
Parameters
Type Name Description
Image img

The GrapeCity.Documents.Drawing.Image object.

float width

The specified width of the picture, by default as in the image.

float height

The specified height of the picture, by default as in the image.

RtfPictureShape(RtfObject, Image, float, float)

Create RTF picture shape.

Declaration
public RtfPictureShape(RtfObject owner, Image img, float width = -1, float height = -1)
Public Sub New(owner As RtfObject, img As Image, Optional width As Single = -1, Optional height As Single = -1)
Parameters
Type Name Description
RtfObject owner

The owner RtfObject object.

Image img

The GrapeCity.Documents.Drawing.Image object.

float width

The specified width of the picture, by default as in the image.

float height

The specified height of the picture, by default as in the image.