Aspose::Pdf::Rectangle::FromRect method
Rectangle::FromRect(System::Drawing::Rectangle) method
Initializes new rectangle from given instance of System.Drawing.Rectangle.
static System::SharedPtr<Rectangle> Aspose::Pdf::Rectangle::FromRect(System::Drawing::Rectangle src)
Parameter | Type | Description |
---|---|---|
src | System::Drawing::Rectangle | Source rectangle which position and size will be set to new rectangle. |
ReturnValue
New rectangle.
See Also
- Typedef SharedPtr
- Class Rectangle
- Class Rectangle
- Class Rectangle
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++
Rectangle::FromRect(System::Drawing::RectangleF) method
Initializes new rectangle from given instance of System.Drawing.Rectangle.
static System::SharedPtr<Rectangle> Aspose::Pdf::Rectangle::FromRect(System::Drawing::RectangleF src)
Parameter | Type | Description |
---|---|---|
src | System::Drawing::RectangleF | Source rectangle which position and size will be set to new rectangle. |
ReturnValue
New rectangle.
See Also
- Typedef SharedPtr
- Class Rectangle
- Class RectangleF
- Class Rectangle
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++