PattResourceData.SetPattern
PattResourceData.SetPattern method
Sets the pattern pixel buffer and target size, updates Width / Height, and stores the data for saving using the default compression mode (0).
public void SetPattern(int[] pixels, Rectangle bounds)
| Parameter | Type | Description |
|---|---|---|
| pixels | Int32[] | 32-bit pixels in 0xAARRGGBB format. |
| bounds | Rectangle | Pixel bounds of the pattern. |
Exceptions
| exception | condition |
|---|---|
| PsdImageArgumentException | Pixels array length must be equal to bounds area. |
See Also
- struct Rectangle
- class PattResourceData
- namespace Aspose.PSD.FileFormats.Psd.Layers.LayerResources
- assembly Aspose.PSD