Bitmap()
Contents
[
Hide
]Bitmap::Bitmap(const SharedPtr<Image>&) constructor
Constructs a new Bitmap object from the specified existing image.
System::Drawing::Bitmap::Bitmap(const SharedPtr<Image> &original)
Arguments
Parameter | Type | Description |
---|---|---|
original | const SharedPtr<Image>& | The existing image to create the bitmap image from |
Bitmap::Bitmap(const SharedPtr<System::IO::Stream>&, bool) constructor
Constructs a new Bitmap object from the specified stream.
System::Drawing::Bitmap::Bitmap(const SharedPtr<System::IO::Stream> &stream, bool useIcm=false)
Arguments
Parameter | Type | Description |
---|---|---|
stream | const SharedPtr<System::IO::Stream>& | A stream that contains image data |
useIcm | bool | IGNORED |
Bitmap::Bitmap(const String&) constructor
Constructs a new Bitmap object from the specified file.
System::Drawing::Bitmap::Bitmap(const String &filename)
Arguments
Parameter | Type | Description |
---|---|---|
filename | const String& | A name of the file that contains image data |
Bitmap::Bitmap(const String&, bool) constructor
Constructs a new Bitmap object from the specified file.
System::Drawing::Bitmap::Bitmap(const String &filename, bool useIcm)
Arguments
Parameter | Type | Description |
---|---|---|
filename | const String& | A name of the file that contains image data |
useIcm | bool | IGNORED |
Bitmap::Bitmap(int, int, Imaging::PixelFormat) constructor
Constructs a new Bitmap object that represents a bitmap image with the specified width, height, pixel format and pixel data.
System::Drawing::Bitmap::Bitmap(int width, int height, Imaging::PixelFormat format=Imaging::PixelFormat::Format32bppArgb)
Arguments
Parameter | Type | Description |
---|---|---|
width | int | The width of the image |
height | int | The height of the image |
format | Imaging::PixelFormat | The pixel format of the image |
Bitmap::Bitmap(const SharedPtr<Image>&, const Size&) constructor
Constructs a new Bitmap object from the specified existing image, scaled to the specified size.
System::Drawing::Bitmap::Bitmap(const SharedPtr<Image> &original, const Size &size)
Arguments
Parameter | Type | Description |
---|---|---|
original | const SharedPtr<Image>& | The existing image to create the bitmap image from |
size | const Size& | The size of the new image |
Bitmap::Bitmap(const SharedPtr<Image>&, int, int) constructor
Constructs a new Bitmap object from the specified existing image with width and height scaled to the specified values.
System::Drawing::Bitmap::Bitmap(const SharedPtr<Image> &original, int width, int height)
Arguments
Parameter | Type | Description |
---|---|---|
original | const SharedPtr<Image>& | The existing image to create the bitmap image from |
width | int | Width of the new image |
height | int | Height of the new image |
See Also
- Enum PixelFormat
- Typedef SharedPtr
- Class Image
- Class Bitmap
- Class Stream
- Class String
- Class Size
- Namespace System::Drawing
- Library Aspose.Slides