FillFormatSetPicture Method (PictureContentType, 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: 21.3.35.1038 (21.3.35.1038)
Syntaxpublic PictureFillFormat SetPicture(
PictureContentType contentType,
Stream stream
)
Public Function SetPicture (
contentType As PictureContentType,
stream As Stream
) As PictureFillFormat
Parameters
- contentType
- Type: GemBox.PresentationPictureContentType
Content 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