Click or drag to resize

PictureFillFormatSetData Method (Content, PictureCompressionType)

Sets the picture data.

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1045 (21.3.35.1045)
Syntax
public PictureContent SetData(
	Content content,
	PictureCompressionType compressionType
)

Parameters

content
Type: GemBox.PresentationContent
The picture content that should be set.
compressionType
Type: GemBox.PresentationPictureCompressionType
Compression level that the generating application can use as a guidance when optimizing picture data size.

Return Value

Type: PictureContent
An instance of a PictureContent class that represents the picture data that has been set.
Exceptions
ExceptionCondition
ArgumentNullExceptioncontent is .
See Also