## PageAPI::CreateLinearGradientBrush(System::Drawing::PointF, System::Drawing::PointF) method


Crea un nuovo pennello a gradiente lineare.

```cpp
System::SharedPtr<XpsModel::XpsLinearGradientBrush> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateLinearGradientBrush(System::Drawing::PointF startPoint, System::Drawing::PointF endPoint)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| startPoint | System::Drawing::PointF | Il punto di partenza del gradiente lineare. |
| endPoint | System::Drawing::PointF | Il punto finale del gradiente lineare. |

### ReturnValue

Nuovo pennello di gradiente lineare.

## Vedi anche

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XpsLinearGradientBrush](../../../aspose.page.xps.xpsmodel/xpslineargradientbrush/)
* Class [PointF](../../../system.drawing/pointf/)
* Class [PageAPI](../)
* Namespace [Aspose::Page::XPS::Features::EventBasedModifications](../../)
* Library [Aspose.Page for C++](../../../)
## PageAPI::CreateLinearGradientBrush(System::SharedPtr\<System::Collections::Generic::List\<System::SharedPtr\<XpsModel::XpsGradientStop\>\>\>, System::Drawing::PointF, System::Drawing::PointF) method


Crea un nuovo pennello a gradiente lineare.

```cpp
System::SharedPtr<XpsModel::XpsLinearGradientBrush> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateLinearGradientBrush(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsGradientStop>>> gradientStops, System::Drawing::PointF startPoint, System::Drawing::PointF endPoint)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| gradientStops | System::SharedPtr\<System::Collections::Generic::List\<System::SharedPtr\<XpsModel::XpsGradientStop\>\>\> | L'elenco dei gradient stop. |
| startPoint | System::Drawing::PointF | Il punto di partenza del gradiente lineare. |
| endPoint | System::Drawing::PointF | Il punto finale del gradiente lineare. |

### ReturnValue

Nuovo pennello di gradiente lineare.

## Vedi anche

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XpsLinearGradientBrush](../../../aspose.page.xps.xpsmodel/xpslineargradientbrush/)
* Class [List](../../../system.collections.generic/list/)
* Class [XpsGradientStop](../../../aspose.page.xps.xpsmodel/xpsgradientstop/)
* Class [PointF](../../../system.drawing/pointf/)
* Class [PageAPI](../)
* Namespace [Aspose::Page::XPS::Features::EventBasedModifications](../../)
* Library [Aspose.Page for C++](../../../)
