BeginContainer()
Contents
[
Hide
]Graphics::BeginContainer() method
Saves a container with the current state of this object, opens and uses a new container and returns the saved container.
SharedPtr<Drawing2D::GraphicsContainer> System::Drawing::Graphics::BeginContainer()
Graphics::BeginContainer(Rectangle, Rectangle, GraphicsUnit) method
Saves a container with the current state of this object, opens and uses a new container and returns the saved container.
SharedPtr<Drawing2D::GraphicsContainer> System::Drawing::Graphics::BeginContainer(Rectangle dstrect, Rectangle srcrect, GraphicsUnit unit)
Arguments
Parameter | Type | Description |
---|---|---|
dstrect | Rectangle | The rectangle that specifies a scale transformation of the new container. Used together with srcrect |
srcrect | Rectangle | The rectangle that specifies a scale transformation of the new container. Used together with dstrect |
unit | GraphicsUnit | The value that specifies the unit of measure of the new container |
Graphics::BeginContainer(RectangleF, RectangleF, GraphicsUnit) method
Saves a container with the current state of this object, opens and uses a new container and returns the saved container.
SharedPtr<Drawing2D::GraphicsContainer> System::Drawing::Graphics::BeginContainer(RectangleF dstrect, RectangleF srcrect, GraphicsUnit unit)
Arguments
Parameter | Type | Description |
---|---|---|
dstrect | RectangleF | The rectangle that specifies a scale transformation of the new container. Used together with srcrect |
srcrect | RectangleF | The rectangle that specifies a scale transformation of the new container. Used together with dstrect |
unit | GraphicsUnit | The value that specifies the unit of measure of the new container |
See Also
- Enum GraphicsUnit
- Typedef SharedPtr
- Class GraphicsContainer
- Class Graphics
- Class Rectangle
- Class RectangleF
- Namespace System::Drawing
- Library Aspose.Slides