Class LPGDIPlusProperties.TLPGPImage
From Mitov Wiki Doc
				
				
				(Difference between revisions)
				
																
				
				
								
				 (Automated Syncronization with Documentation)  | 
		 (Automated Syncronization with Documentation)  | 
		||
| (9 intermediate revisions by one user not shown) | |||
| Line 5: | Line 5: | ||
</span></b>  | </span></b>  | ||
| − | '''Package:''' [[Package   | + | '''Package:''' [[Package Mitov.BasicLab|Mitov.BasicLab]]  | 
'''Unit:''' [[Unit LPGDIPlusProperties|LPGDIPlusProperties]]  | '''Unit:''' [[Unit LPGDIPlusProperties|LPGDIPlusProperties]]  | ||
| Line 26: | Line 26: | ||
=== C# (.NET): ===  | === C# (.NET): ===  | ||
<code>  | <code>  | ||
| − | '''public ref class'''   | + | '''public ref class''' GPImage : [[Class Vcl.VclProperty|Vcl.VclProperty]]  | 
</code>  | </code>  | ||
== Summary ==  | == Summary ==  | ||
Latest revision as of 00:29, 26 June 2013
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: Mitov.BasicLab
Unit: LPGDIPlusProperties
Inherits: TLPPersistentNotify
Contents | 
Syntax
Delphi:
type TLPGPImage = class( TLPPersistentNotify )
C++ Builder:
class TLPGPImage : public TLPPersistentNotify
Visual C++ (MFC):
class CTLPGPImage : public CTLPPersistentNotify
C# (.NET):
public ref class GPImage : Vcl.VclProperty
Summary
GDI+ image properties class.
Description
Defines a GDI+ image properties class.
Properties
Public
- Height - Returns the Height of the image. See Also Use this property to get the Height of the image.
 - Width - Returns the Width of the image. See Also Use this property to get the Width of the image.
 - GPImage
 
Methods
Public
- procedure FromBitmap(AValue : TBitmap) - Populates the image from a bitmap.
 - procedure LoadFromFile(FileName : String) - Loads the image from a file.
 - procedure LoadFromStream(Stream : TStream) - Loads the image from a stream.
 - procedure SaveToStream(Stream : TStream) - Saves the image to a stream.
 - procedure SaveToStream(Stream : TStream; Format : String) - Saves the image to a stream with a specified format.
 - procedure SaveToFile(FileName : String; Format : String) - Saves the image to a file with a specified format.
 - procedure SaveToFile(FileName : String) - Saves the image to a file.
 - procedure GetFormats(AFormats : TStrings) - Returns list of supported image formats.
 - function IsEmpty() : Boolean - Returns true if the image is empty.
 - procedure Clear() - Clears the content of the image.