BlipFillType

type BlipFillType = tile | stretch

Description

The type of a fill which uses an image as a background. "tile" - if the image is smaller than the shape which is filled, the image will be tiled all over the created shape surface. "stretch" - if the image is smaller than the shape which is filled, the image will be stretched to fit the created shape surface.

Try It

var oFill = Api.CreateBlipFill("https://example.com/myimage.png", "tile");

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).