[]
Create RTF picture shape.
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)
| 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. |
Create RTF picture shape.
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)
| 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. |