GetTileImage()

PatternFormat::GetTileImage(System::Drawing::Color, System::Drawing::Color) method

Creates a tile image for the pattern fill with a specified colors.

System::SharedPtr<System::Drawing::Bitmap> Aspose::Slides::PatternFormat::GetTileImage(System::Drawing::Color background, System::Drawing::Color foreground) override

Arguments

ParameterTypeDescription
backgroundSystem::Drawing::ColorThe background System::Drawing::Color for the pattern.
foregroundSystem::Drawing::ColorThe foreground System::Drawing::Color for the pattern.

Return Value

Tile System::Drawing::Bitmap.

Deprecated
Use GetTile(Color background, Color foreground) method instead. The method will be removed after release of version 24.7.

PatternFormat::GetTileImage(System::Drawing::Color) method

Creates a tile image for the pattern fill.

System::SharedPtr<System::Drawing::Bitmap> Aspose::Slides::PatternFormat::GetTileImage(System::Drawing::Color styleColor) override

Arguments

ParameterTypeDescription
styleColorSystem::Drawing::ColorThe default System::Drawing::Color, defined in ShapeEx’s StyleEx object. Fill’s colors can depend on this.

Return Value

Tile System::Drawing::Bitmap.

Deprecated
Use GetTile(Color styleColor) method instead. The method will be removed after release of version 24.7.

See Also