FillFormatSetPicture Method (String, Stream) |
Sets the fill to the picture fill.
This method is not applicable on Fill property.
Namespace:
GemBox.Presentation
Assembly:
GemBox.Presentation (in GemBox.Presentation.dll) Version: 23.0.35.1026
Syntaxpublic PictureFillFormat SetPicture(
string contentType,
Stream stream
)
Public Function SetPicture (
contentType As String,
stream As Stream
) As PictureFillFormat
Parameters
- contentType
- Type: SystemString
Content type (MIME type) of the picture data. - stream
- Type: System.IOStream
Stream containing the picture data.
Return Value
Type:
PictureFillFormat
An instance of a
PictureFillFormat type that was set and can be used to set tiling or stretch options of the picture fill.
Exceptions
See Also