Click or drag to resize

PictureFillFormat Class

Represents a fill with a picture that can either be tiled (as a texture) or stretched to fill the available area. This fill is not supported for outlines, borders and underlines.
Inheritance Hierarchy

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1041 (21.3.35.1041)
Syntax
public sealed class PictureFillFormat : FillFormat

The PictureFillFormat type exposes the following members.

Properties
  NameDescription
Public propertyData
Gets the picture data that has an associated content that is either embedded in or linked to the presentation file.
Public propertyFillType
Gets the Picture value.
(Overrides FillFormatFillType.)
Public propertyRotateWithShape
Gets or sets a value indicating whether the fill should rotate with the shape.
Public propertyStretchBottom
Gets or sets the offset (inset) of the bottom edge of the stretched picture fill from the bottom edge of the filling area specified as a relative value (percentage of the filling area height, value of 1 is equal to 100% of the filling area height).
Public propertyStretchLeft
Gets or sets the offset (inset) of the left edge of the stretched picture fill from the left edge of the filling area specified as a relative value (percentage of the filling area width, value of 1 is equal to 100% of the filling area width).
Public propertyStretchRight
Gets or sets the offset (inset) of the right edge of the stretched picture fill from the right edge of the filling area specified as a relative value (percentage of the filling area width, value of 1 is equal to 100% of the filling area width).
Public propertyStretchTop
Gets or sets the offset (inset) of the top edge of the stretched picture fill from the top edge of the filling area specified as a relative value (percentage of the filling area height, value of 1 is equal to 100% of the filling area height).
Public propertyTileAsTexture
Gets or sets a value indicating whether the fill should tile as a texture or stretch over the filling area.
Public propertyTilingAlignment

Gets or sets a value indicating where to align the first tile with respect to the filling area.

Alignment happens after the scaling, but before the additional offset.

Public propertyTilingMirrorType

Specifies the direction(s) in which to flip the source image while tiling.

Images may be flipped horizontally, vertically, or in both directions to fill the entire region.

Public propertyTilingOffsetX
Gets or sets the additional horizontal offset after tiling alignment.
Public propertyTilingOffsetY
Gets or sets the additional vertical offset after tiling alignment.
Public propertyTilingScaleX
Gets or sets the horizontal tiling scale in range from 0 = 0% to 1 = 100%.
Public propertyTilingScaleY
Gets or sets the vertical tiling scale in range from 0 = 0% to 1 = 100%.
Top
Methods
  NameDescription
Public methodSetData(String)
Sets the picture data.
Public methodSetData(Content)
Sets the picture data.
Public methodSetData(String, Stream)
Sets the picture data.
Public methodSetData(Content, PictureCompressionType)
Sets the picture data.
Public methodSetData(PictureContentType, Stream)
Sets the picture data.
Public methodSetNone
Sets the fill to none, thus making the area transparent.
(Inherited from FillFormat.)
Public methodSetPattern
Sets the fill to the pattern fill.
(Inherited from FillFormat.)
Public methodSetPicture(String)

Sets the fill to the picture fill.

This method is not applicable on Fill property.

(Inherited from FillFormat.)
Public methodSetPicture(Content)

Sets the fill to the picture fill.

This method is not applicable on Fill property.

(Inherited from FillFormat.)
Public methodSetPicture(String, Stream)

Sets the fill to the picture fill.

This method is not applicable on Fill property.

(Inherited from FillFormat.)
Public methodSetPicture(PictureContentType, Stream)

Sets the fill to the picture fill.

This method is not applicable on Fill property.

(Inherited from FillFormat.)
Public methodSetSlideBackground

Sets the fill of the Shape to that of the slide background surface. Applicable only on Shape's fill.

This method does not set the fill of the shape to be transparent but instead sets it to be filled with the portion of the slide background that is directly behind it.

(Inherited from FillFormat.)
Public methodSetSolid
Sets the fill to the solid fill.
(Inherited from FillFormat.)
Top
See Also